[jboss-dev-forums] [TODO - DEVELOPMENT] - How to call my custom login module
Vineet_Tripathi
do-not-reply at jboss.com
Thu May 17 07:57:44 EDT 2007
Hi all,
I wanted to know that where is the class or mechanism through which Jboss -portal is initializing LoginContext and passing callbackhandler object before sending authentication request to its IdentityLoginModule jaas authenticator. I have created my custom login module, callbackhandler, and callbacks. I was planning to use following code
LoginContext lc = null;
try {
lc = new LoginContext("MyLoginModule",
new MyCustomCallbackHandler());
}
Please help me that where do i need to put this code, or if there is some other mechanism to initialize loginContext!!!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046459#4046459
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046459
More information about the jboss-dev-forums
mailing list