[JBoss-user] [Security JAAS/JBoss] - Re: DatabaseserverLoginModule : datasource not bound

2004-04-14 Thread antoine
ok thanks 

but I solve my probem. It functions with ClientLoginModule

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3830591#3830591

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830591


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Opening RMI to the Internet?

2004-04-09 Thread antoine
in fact client have only a reference of ejb.

I send jndi name to a servlet which calls ejb and send to client a reference. Just 
that..

About security point of view I don't know...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829915#3829915

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829915


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DatabaseserverLoginModule : datasource not bound

2004-04-09 Thread antoine
Ok I debug a little my problem

What I understood :
In fact I can't be bound to my datasource directly from my client java. I must put in 
my auth.conf clientLoginMoule required. It didn't authentication but just keep my 
principals and my credentials. From a bean I send my credentials and my principals and 
server use his auth.conf (in my example I use databaseServrLoginModule) and server 
authenticated my user and give him his role.

But I can't send my login and password to server, so authentication fails..

If somebody can help me ?

Thanks 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829918#3829918

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829918


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Opening RMI to the Internet?

2004-04-08 Thread antoine
I work about swing clients connecting ejbs.

I invoke my ejb over the internet without rmi.

I use remoting (proposed by bright side framework) : Http invocation

maybe I answer to your question 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829738#3829738

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829738


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: DatabaseLoginModule example project

2004-04-08 Thread antoine
excuse me

but where did you find databaseServerloginmodule project example ?

thanks 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829739#3829739

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829739


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - DatabaseserverLoginModule : datasource not bound

2004-04-08 Thread antoine
hello,

it seems client application can't find database.

I receive this message :
javax.security.auth.login.LoginException: javax.naming.NameNotFoundException: FwkDS 
not bound
at 
org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:110)

My auth.conf :
 MyLogin
{
//Login Module Needed - I use Database (Note it correlates to what I had in 
login-config.xml
org.jboss.security.auth.spi.DatabaseServerLoginModule required 
dsJndiName=java:/FwkDS principalsQuery=select PWPASWWORD from itcuser where NMNOM=?
rolesQuery=select role, 'Roles' from itcuserrole where NMNOM=?;
};
//NOT 100% SURE IF THIS IS NEEDED, SINCE I HAVEN'T DONE THIS IN A WHILE AND I FORGET, 
//BUT IT'S IN MY FILE (Although I think it's not needed)
other
{
//DEFAULT CLIENT-LOGIN MODULE
org.jboss.security.ClientLoginModule required;
};

My security domain in login-config :
application-policy name = MyLogin 

   login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag 
= required 

module-option name = dsJndiNamejava:/FwkDS/module-option 

module-option name = principalsQueryselect PWPASWWORD from itcuser where 
NMNOM=?/module-option 

module-option name = rolesQueryselect role, 'Roles' from itcuserrole where 
NMNOM=?/module-option 

/login-module
   
/application-policy

Thanks for your help

Antoine



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829740#3829740

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829740


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Datasource not binding when trying to access DatabaseSer

2004-04-07 Thread antoine
excuse me for my advice that wasn't very good

I succeed to silve my problem and I ah the same problem that you

javax.security.auth.login.LoginException: javax.naming.NameNotFoundException: FwkDS 
not bound

Fwkds is my mysql datasource.

I add in my auth.conf my dsjndiname but noting hapened

org.jboss.security.auth.spi.DatabaseServerLoginModule required 
dsJndiName=java:/FwkDS;

did you succeed to siolve your problem ?

thanks for your help

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829669#3829669

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829669


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Datasource not binding when trying to access DatabaseSer

2004-04-06 Thread antoine
did you reference in your deploy directory a oracle-ds.xml ?
it must contain a driver and an url. is it the same name for datasource.

I try to use DatabaseServerLogin but I fail when i create logincontext

I receive this message :
access denied (javax.security.auth.AuthPermission createLoginContext.MyLogin)

I create a file poliy with grant codebase file:./* { permission 
javax.security.auth.AuthPermission createLoginContext.MyLogin; };

thanks for your help

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829404#3829404

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829404


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Datasource not binding when trying to access DatabaseSer

2004-04-06 Thread antoine
I begin with authentication 
I don't know if it's good because of my problem (I give allpermission but nothing) but 
in auth.conf i don't put dsjndi
try without  and tell me what it does


my auth.conf :
MyLogin
{
//Login Module Needed - I use Database (Note it correlates to what I had in 
login-config.xml
org.jboss.security.auth.spi.DatabaseServerLoginModule required;
};
//NOT 100% SURE IF THIS IS NEEDED, SINCE I HAVEN'T DONE THIS IN A WHILE AND I FORGET, 
//BUT IT'S IN MY FILE (Although I think it's not needed)
other
{
//DEFAULT CLIENT-LOGIN MODULE
org.jboss.security.ClientLoginModule required;
};



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3829424#3829424

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829424


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] jboss/tomcat with Xalan Xerces ?

2001-07-20 Thread Antoine . ISIDOR

I need the packages in xalan.jar and xerces.jar  to  execute my Entity
Bean.

I don't find the way to indicate to my  JBoss-2.2.2/Tomcat-3.2.2   server
how  to find them in execution of my JSP.


If somebody had this problem ? or anybody's suggestions..

thanks.


I already tried with puting these jars in jboss/lib/  tomcat/lib , even i
tried with making a lib/ directory in the WEB-INF/ directory of my .war


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JSP / EJB communication

2001-07-06 Thread Antoine . ISIDOR

I'm disappointed.
I have the jboss-2.2.2_tomcat-3.2.2 release installed on my linux.

It starts very well.

But what I thought was EJB/JSP communication when connecting to
http://localhost:8080 is in fact only JSP examples from tomcat's part...

What I don't understand is how to test the tomcat-test.ear example in
JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/  directory.

And so on, in old mail of this list, someone had left a very simple exemple
of JSP connecting to EJB via this server.
It was to make a Hello.ear exemple only making a pretty Hello World in
result.
I tried many ways to make it run, I never reached the good one...

Please, help me, I have to make it run for enterprise use before the end of
next week.


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jboss-2.2.2_tomcat-3.2.2 JSP

2001-07-04 Thread Antoine . ISIDOR

I need some help because i can't solve my problem alone.

I've installed jboss-2.2.2_tomcat-3.2.2 for enterprise use.

Well I can start this version without any problem.
The tomcat-test.ear exemple deployes very well.

Then I wan't to see these exemples at  localhost:8080
exemples with servlets run very well

but JSP exemples just don't !!!

I always get this message  :

Error 500
Location:/examples/jsp/.../jsp
Erreur interne de Servlet
Cause racine

I tried with an other test.ear and I got the same error.

Anybody for help ?


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] static methods

2001-06-28 Thread Antoine . ISIDOR

Can we declare static methods in an EJB ?


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Caching together...

2001-06-21 Thread Antoine . ISIDOR

Ok, shut me if I tell stupid things..

After reading some mails on the Cache subject, i've understood that
several clients can access to an instance of a stateless session bean or
entity bean, but only one client can access to a stateful session bean
instance.

Then I've understood that you can't provide cache persistence with
stateless session beans, you can only do that with stateful session beans.
A second way for persistence is to store informations in databases, which
is provided by entity beans..


So my problem is :

I want my ejb to be able :
 - to provide access for several clients on one instance of bean
 - in the same time to keep informations on those clients in memory (so
cache)
 - without any database use...

Am I asking to much to JBoss ?
This question sounds very important to me, so don't fear to give me all
details you can.

thanks.


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] API for JBoss

2001-06-20 Thread Antoine . ISIDOR

Is there any API on JBoss ?


I have an exemple of bean managed entity bean, using javax.sql.Datasource,
which doesn't seem to exist in JBoss libraries.
Any help would be really appreciated.

thanks.



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Little problem in test

2001-06-14 Thread Antoine . ISIDOR

Well I've downloaded the cdEJB exemple in jboss/documentation .

All files compiled with success, i've deployed it with no more problem.

But from the test, when I run run-list.sh file , even when I execute
List by hand,   nothing appens ???

No errors, no messages, nothing.

So I thought my sql connection didn't run, by I've checked it, all is going
well.

So I don't understand...


May it come from the container management of jboss or something else ?
If somebody has suggestions, you're welcome.
Thanks.


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] MBean

2001-06-06 Thread Antoine . ISIDOR

Sorry for such polution on this mailing list. I'm a young boy coming to
real world and trying to take on the wave of Java.
So i think i understood what are beans in java and ejb's. I've downloaded
the JBoss-2.2 for enterprise use.

Here is my question, because i see them every where i want to get
informations on jboss, even on the 8082 listening port used by jboss :

-- Could somebody please explain me what are MBeans and what they do in
jboss  ?


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Fw: Castor

2001-05-09 Thread Marc Antoine Garrigue




- Original Message - 
From: Marc Antoine 
Garrigue 
To: JBoss-User 
Sent: Wednesday, May 09, 2001 6:32 PM
Subject: Castor

Hi,
As anyone experienced some stuff with castor in 
jboss?
I'm especially interrested in the Entity stuffs.
Could anybody send me some advices, examples or/and 
configs.
Thank u




Re: [JBoss-user] Website down,

2001-04-30 Thread Marc Antoine Garrigue

Alors comme ca on part à londres et on laisse les miserables petits
étudiants jboss sans aucune ressource...
Bon WE sieur marc
MAG (un admirateur)

- Original Message -
From: marc fleury [EMAIL PROTECTED]
To: Jboss-User@Lists. Sourceforge. Net [EMAIL PROTECTED]
Cc: Jboss-Development@Lists. Sourceforge. Net
[EMAIL PROTECTED]
Sent: Monday, April 30, 2001 1:34 PM
Subject: [JBoss-user] Website down,


 There was some maintance done this weekend and it went awry.

 Juha and Myself are in London we'll see you soon :)

 marc

 _
 Marc Fleury, Ph.D
 [EMAIL PROTECTED]
 _

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user

 
__
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] framework question

2001-04-24 Thread Marc Antoine Garrigue



Hello world

I'm trying to make a new framework from scratch for EJB 
developement.
My idea ( not a very new one ) is to make a set of ejb from 
which people can dynamicaly create an object model. I Thinking of doing that 
whith entities items which are a set of fields.
My question is ( maybe a newbie one !? ):
 Is it stupide to make those fields ( a key 
value pair ) whith entities.
 Is it better to make it whith beans ( this 
implies BMP)?

Thank u for you interest.

P.S. I know that this question has nothing to do in this 
forum.
I apologize.
I'm a student and i start learning ejb 4 mounth ago whith 
jboss so
Belou

Ièll

elou