Hello 2 all!
I have a problem with JBoss and JAAS NTLoginModule.
my jboss/jsp/struts web application must perform NT account based client 
authenification.

So, I create new jboss security domain:

login-config.xml
...
<application-policy name = "bpm">

<login-module code = "com.sun.security.auth.module.NTLoginModule"
flag = "required">
<module-option name = "debug">true</module-option>
</login-module>

</application-policy>

auth.conf  file for client and server default configuration:
bpm
{
com.sun.security.auth.module.NTLoginModule required debug=true;
};

and then in application (in Struts action) :
...
try {
LoginContext loginContext = new LoginContext("bpm", new TextCallbackHandler());
loginContext.login();
...... 
}
catch (LoginException e) {
logger.error("login context creation failed: "+e.getMessage());
}

Compiling and deployment is succesfull, and application works, BUT :((
jboss write to its console not client, but server computer NT account...

What's incorrect?

Thanks in advance.
Andrew 


        

 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858042#3858042

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858042


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to