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

        @Inject
        public ElytronAuthenticationService​(ElytronIdentityHelper elytronIdentityHelper)
    • 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
      • 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