[JBoss-user] [Security JAAS/JBoss] - Re: Specify SECURITY_PRINCIPAL and SECURITY_CREDENTIALS ?

2005-01-18 Thread 760613
Thanks tcherel and Scott. Scott I ve read about the LoginInitialContextFactory. If I get it right I need to do followings: | 1. write a new application-policy (login-config.xml) based on a login-module or use the pre-defined client-login. | 2. in the DD use the

[JBoss-user] [Security JAAS/JBoss] - Re: Specify SECURITY_PRINCIPAL and SECURITY_CREDENTIALS ?

2005-01-18 Thread [EMAIL PROTECTED]
You don't do 4. This is done by JNDI when you use the org.jboss.security.jndi.LoginInitialContextFactory class as the Context.INITIAL_CONTEXT_FACTORY value in the env passed to InitialContextFactory. View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: Specify SECURITY_PRINCIPAL and SECURITY_CREDENTIALS ?

2005-01-17 Thread tcherel
As far as I understand, authetnication through the JNDI context is not supported by JBoss. So, if you want to do it anyway, you will need to develop your own JBoss specific code to support it (or wait that JBoss supports it). The other standard authentication mechanism is to use JAAS. I do

[JBoss-user] [Security JAAS/JBoss] - Re: Specify SECURITY_PRINCIPAL and SECURITY_CREDENTIALS ?

2005-01-17 Thread [EMAIL PROTECTED]
Read about org.jboss.security.jndi.LoginInitialContextFactory: http://www.jboss.org/wiki/Wiki.jsp?page=LoginInitialContextFactory Passing the login credentials through the JNDI InitialContext is not a standard. There is no j2ee spec that even suggests this is how a client might provide its