@ApplicationScoped public class ServletSecurityAuthenticationService extends GroupAdapterAuthorizationSource implements org.jboss.errai.security.shared.service.AuthenticationService
Constructor and Description |
---|
ServletSecurityAuthenticationService() |
Modifier and Type | Method and Description |
---|---|
protected static javax.servlet.http.HttpServletRequest |
getRequestForThread() |
org.jboss.errai.security.shared.api.identity.User |
getUser() |
boolean |
isLoggedIn() |
org.jboss.errai.security.shared.api.identity.User |
login(String username,
String password) |
void |
logout() |
collectEntitiesFromAdapters, collectEntitiesFromSubject, getGroups, getRoles, loadEntitiesFromSubjectAndAdapters
public ServletSecurityAuthenticationService()
protected static javax.servlet.http.HttpServletRequest getRequestForThread()
public org.jboss.errai.security.shared.api.identity.User login(String username, String password)
login
in interface org.jboss.errai.security.shared.service.AuthenticationService
public boolean isLoggedIn()
isLoggedIn
in interface org.jboss.errai.security.shared.service.AuthenticationService
public void logout()
logout
in interface org.jboss.errai.security.shared.service.AuthenticationService
public org.jboss.errai.security.shared.api.identity.User getUser()
getUser
in interface org.jboss.errai.security.shared.service.AuthenticationService
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.