1 Reply Latest reply on Nov 18, 2007 11:02 PM by skethama

    JAAS + JSF Programmatic login

    skethama


      How can I programatically login a user in JSF i.e, in the PhaseListener or in a ManagedBean method?
      Security is JAAS with form based authentication. (Jboss). Simply put, I do not want to display the login screen when a certain user clicks on a link and passed me some information in the request or the header.

      All other users have to go through the regular Authentication form.

      Does the "WebAuthentication" work with the JSF? Any examples?

      And how can I make session aware that the user is logged in?

      I was planning on calling JBoss support because we are under time pressure

      to roll out this feature, but if this forum can help .. that would be great !

      Thanks