Hello,
When I look all the JAAS example, I see that you have to use the following code 
to use the LoginModule, etc...
LoginContext lc = new LoginContext("MyExample");
    try {
        lc.login();
    } catch (LoginException) {
        // Authentication failed.
    }
The "MyExample" is the name that you can retrieve in the jaas.conf.
What is the link between the j_security_check and JAAS ?
Is that a good thing to use j_security_check and my custom LoginModule ? Right 
works fine exept I don't use the LoginContext lc = new 
LoginContext("MyExample");
Thanks for your comments.

Reply via email to