Class ElytronAuthenticationService

  • All Implemented Interfaces:
    org.jboss.errai.security.shared.service.AuthenticationService

    @ApplicationScoped
    @Alternative
    public class ElytronAuthenticationService
    extends Object
    implements org.jboss.errai.security.shared.service.AuthenticationService
    • Constructor Detail

      • ElytronAuthenticationService

        public ElytronAuthenticationService()
      • ElytronAuthenticationService

        @Inject
        public ElytronAuthenticationService​(org.uberfire.security.WorkbenchUserManager workbenchUserManager)
    • Method Detail

      • login

        public org.jboss.errai.security.shared.api.identity.User login​(String username,
                                                                       String password)
        Specified by:
        login in interface org.jboss.errai.security.shared.service.AuthenticationService
      • login

        protected void login​(String username,
                             org.wildfly.security.evidence.Evidence evidence)
                      throws org.wildfly.security.auth.server.RealmUnavailableException
        Throws:
        org.wildfly.security.auth.server.RealmUnavailableException
      • isLoggedIn

        public boolean isLoggedIn()
        Specified by:
        isLoggedIn in interface org.jboss.errai.security.shared.service.AuthenticationService
      • logout

        public void logout()
        Specified by:
        logout in interface org.jboss.errai.security.shared.service.AuthenticationService
      • getUser

        public org.jboss.errai.security.shared.api.identity.User getUser()
        Specified by:
        getUser in interface org.jboss.errai.security.shared.service.AuthenticationService