aspose file tools*
The moose likes Security and the fly likes JAAS in Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "JAAS in Jboss" Watch "JAAS in Jboss" New topic
Author

JAAS in Jboss

shan Iyer
Ranch Hand

Joined: Jul 13, 2005
Posts: 391
Hi,
I am trying to use the Kerberos LoginModule for Authentication in my Jboss
App server.
Where can I store my User name and password??
How do I set the Realm Name and KDC.??
What should I specify in the java.security file??
Also, I get "ClassCast Exception" when i Tried the following.

LoginContext lc=new LoginContext("Auth", new CallBackhandler);

Auth
{
com.....................Kerberos required
}

Please help,
Thanx in advance,
shankar.


Warm Regards, S.Iyer
SCJP1.4, SCWCD1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAAS in Jboss