[jboss-user] [Security & JAAS/JBoss] - How can I get the configurations in login-config.xml for my
do-not-reply at jboss.com
Tue Aug 12 03:32:44 EDT 2008
In login-config.xml, thereÂ´s already an self-defined LDAP-loginModule, with a specifed LDAP-server URL. In my deployed application, this loginModule has been used for login-authentication (specified as a "security-domain" in jboss-web.xml). -- Up to now, everythingÂ´s fine!
However, since my application still want to achieve additional infos from the same LDAP-server as the loginModule, I want directly get the server-url from the login-config.xml. After some tracking from the jboss-src, IÂ´m still not so clear, how jboss itself parses the login-config.xml and how a deployed application references a loginModule by the JNDI-name specified in the "security-domain" of jboss-web.xml. IÂ´ve tried to use this JNDI in my application, but simply got a JaasSecurityManager instance, which has no such param-infos from loing-config.xml.
So, anyone who can help me, to get the informations specified in login-config.mxl? (Just like the variable "Map options" inherited from UsernamePasswordLoginModule)?
Thanks a lot!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170010#4170010
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170010
More information about the jboss-user