Class CommandLineAuthService

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

    @ApplicationScoped
    public class CommandLineAuthService
    extends Object
    implements org.jboss.errai.security.shared.service.AuthenticationService
    • Field Detail

      • PLACEHOLDER

        public static final org.jboss.errai.security.shared.api.identity.User PLACEHOLDER
    • Constructor Detail

      • CommandLineAuthService

        public CommandLineAuthService()
    • 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