[jboss-user] [Security & JAAS/JBoss] - Using

Wolfgang Knauf do-not-reply at jboss.com
Wed Dec 3 15:14:53 EST 2008


Is there any way to use the "unauthenticatedIdentity" feature of "login-config.xml" for secured web applications?

I have a form based authentication, and even if I enter nothing in "j_username"/"j_password", this empty input seems to be interpreted as zero string login/password, but not as empty login.

For application clients, the NULL login works fine:
      AppCallbackHandler callbackHandler = new AppCallbackHandler(null, null);
  |       LoginContext loginContext = new LoginContext ("my_auth_conf", callbackHandler);
  |       loginContext.login();

Thanks

Wolfgang

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

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



More information about the jboss-user mailing list