public class SpringSecurityService extends AbstractSecurityService
SecurityService.AuthenticationContextAUTH_TYPE| Constructor and Description |
|---|
SpringSecurityService() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
authorize(AbstractSecurityContext context) |
void |
configure(java.util.Map<java.lang.String,java.lang.String> params) |
protected void |
handleAuthenticationExceptions(org.springframework.security.AuthenticationException e) |
protected void |
handleAuthorizationExceptions(java.lang.reflect.InvocationTargetException e) |
protected boolean |
isAuthenticated(org.springframework.security.Authentication authentication) |
protected boolean |
isUserInRole(org.springframework.security.Authentication authentication,
java.lang.String role) |
protected org.springframework.security.context.SecurityContext |
loadSecurityContextFromSession() |
java.security.Principal |
login(java.lang.Object credentials,
java.lang.String charset) |
void |
logout() |
protected void |
saveSecurityContextInSession(org.springframework.security.context.SecurityContext securityContext,
int securityContextHashBefore) |
void |
setSecurityInterceptor(AbstractSpringSecurityInterceptor securityInterceptor) |
protected boolean |
userCanAccessService(AbstractSecurityContext context,
org.springframework.security.Authentication authentication) |
acceptsContext, decodeBase64Credentials, endAuthorization, endLogin, endLogout, handleSecurityException, login, prelogin, startAuthorization, tryReloginpublic void configure(java.util.Map<java.lang.String,java.lang.String> params)
public void setSecurityInterceptor(AbstractSpringSecurityInterceptor securityInterceptor)
public java.security.Principal login(java.lang.Object credentials,
java.lang.String charset)
protected void handleAuthenticationExceptions(org.springframework.security.AuthenticationException e)
public java.lang.Object authorize(AbstractSecurityContext context) throws java.lang.Exception
java.lang.Exceptionpublic void logout()
protected boolean isUserInRole(org.springframework.security.Authentication authentication,
java.lang.String role)
protected boolean isAuthenticated(org.springframework.security.Authentication authentication)
protected boolean userCanAccessService(AbstractSecurityContext context, org.springframework.security.Authentication authentication)
protected org.springframework.security.context.SecurityContext loadSecurityContextFromSession()
protected void saveSecurityContextInSession(org.springframework.security.context.SecurityContext securityContext,
int securityContextHashBefore)
protected void handleAuthorizationExceptions(java.lang.reflect.InvocationTargetException e)