Class ServletSecurityAuthenticationService

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

    @ApplicationScoped
    public class ServletSecurityAuthenticationService
    extends org.uberfire.backend.server.security.adapter.GroupAdapterAuthorizationSource
    implements org.jboss.errai.security.shared.service.AuthenticationService
    • Constructor Detail

      • ServletSecurityAuthenticationService

        public ServletSecurityAuthenticationService()
    • Method Detail

      • getRequestForThread

        protected static javax.servlet.http.HttpServletRequest getRequestForThread()
      • 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
      • getPrincipals

        protected List<String> getPrincipals()