1 Reply Latest reply on Jun 1, 2006 7:52 AM by smolin

    Custom Authentication

    Don Hill Newbie

      Is there a way to use custom authentication within jboss so that all request will have a principal assocaited with them, I am trying to get around the j2ee security constraint, what I mean is I don't want to have to use this method, I would like to just call a JBossAuthenticator in my login portlet and then be authenticated.

        • 1. Re: Custom Authentication

          that's the same I want to get working in my app as well.
          any help really appreciated. I found how to login using JASS, but after that my web session is still unathenticated!!!!

          UsernamePasswordHandler handler = null;
          handler = new UsernamePasswordHandler(getUserName(), getUserPassword());
          try {
          LoginContext lc = new LoginContext("webshop", handler);

          System.out.println("user: " + FacesContext.getCurrentInstance().getExternalContext().getRemoteUser());
          } catch (LoginException e) {