1 Reply Latest reply on Nov 5, 2005 7:08 PM by Darran Lofthouse

    Problems with JAAS

    Karol Oslowski Newbie

      Dear all,

      I'm trying to secure web resources in jboss with jaas. I've configured everything (?) and in my web.xml I have:


      
      <login-config>
       <auth-method>FORM</auth-method>
       <realm-name>Levia application</realm-name>
       <form-login-config>
       <form-login-page>./login.jsp</form-login-page>
       <form-error-page>./loginerror.html</form-error-page>
       </form-login-config>
      </login-config>
      
      


      My problem is really strange (the strange thing is that I haven't found any information about this topic anywhere. I have no idea how to write the login.jsp page. Why? Of course I know how to make a form asking for username and password but how to "tell" jboss how should it use this form?

      I would be really grateful for any examples/links/comments.

      Kind regards,

      Karol Oslowski