public class SecurityServiceImpl extends AbstractSecurityService
AbstractSecurityService.Group, AbstractSecurityService.Identity, AbstractSecurityService.ProvidedSecurityContext, AbstractSecurityService.SecurityContext, AbstractSecurityService.User
clientIdentity, defaultContext, defaultSubject, defaultUser, KEY_REQUEST, KEY_SUBJECT, KEYS
Constructor and Description |
---|
SecurityServiceImpl() |
SecurityServiceImpl(java.lang.String jaccProviderClass) |
Modifier and Type | Method and Description |
---|---|
protected static void |
installJaas() |
java.util.UUID |
login(java.lang.String realmName,
java.lang.String username,
java.lang.String password) |
void |
logout(java.util.UUID securityIdentity)
Active
|
associate, autoJaccProvider, contextEntered, contextExited, createRunAsSubject, createSubject, currentState, destroyResource, disassociate, getCallerPrincipal, getContext, getDefaultSecurityContext, getDefaultUser, getKeys, getLogicalRoles, getPrincipalsByType, getProtectionDomain, getRealmName, getRunAsSubject, getSubject, init, installJacc, isCallerAuthorized, isCallerInRole, login, onLogout, overrideWithRunAsContext, registerSubject, setDefaultUser, setRealmName, setState, supports, unregisterSubject
public SecurityServiceImpl()
public SecurityServiceImpl(java.lang.String jaccProviderClass)
protected static void installJaas()
public java.util.UUID login(java.lang.String realmName, java.lang.String username, java.lang.String password) throws javax.security.auth.login.LoginException
javax.security.auth.login.LoginException
public void logout(java.util.UUID securityIdentity) throws javax.security.auth.login.LoginException
SecurityService
logout
in interface SecurityService<java.util.UUID>
logout
in class AbstractSecurityService
javax.security.auth.login.LoginException