public class SpringSecurityService extends AbstractSecurityService
AUTH_TYPE| Constructor and Description |
|---|
SpringSecurityService() |
| Modifier and Type | Method and Description |
|---|---|
Object |
authorize(AbstractSecurityContext context) |
void |
configure(Map<String,String> params) |
protected void |
handleAuthenticationExceptions(org.springframework.security.AuthenticationException e) |
protected void |
handleAuthorizationExceptions(InvocationTargetException e) |
protected boolean |
isAuthenticated(org.springframework.security.Authentication authentication) |
protected boolean |
isUserInRole(org.springframework.security.Authentication authentication,
String role) |
protected org.springframework.security.context.SecurityContext |
loadSecurityContextFromSession() |
void |
login(Object credentials,
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, startAuthorization, tryReloginpublic SpringSecurityService()
public void setSecurityInterceptor(AbstractSpringSecurityInterceptor securityInterceptor)
protected void handleAuthenticationExceptions(org.springframework.security.AuthenticationException e)
public Object authorize(AbstractSecurityContext context) throws Exception
Exceptionpublic void logout()
protected boolean isUserInRole(org.springframework.security.Authentication authentication, 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(InvocationTargetException e)