@Component @Scope(value="session") public class SpringSecurityContext extends Object implements SecurityContext, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
SpringSecurityContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
clearContext() |
String |
getAuthorizationMenu() |
UserIdentity |
getUserIdentity() |
boolean |
hasRole(String role) |
boolean |
isAccessible(String securityId) |
boolean |
isAdministrator() |
boolean |
isPasswordValid(String rawPassword) |
boolean |
isRenewCredentialsIdentity() |
boolean |
renewPassword(String oldPassword,
String newPassword) |
public void clearContext()
clearContext in interface SecurityContextpublic UserIdentity getUserIdentity()
getUserIdentity in interface SecurityContextpublic boolean hasRole(String role)
hasRole in interface SecurityContextpublic boolean isAccessible(String securityId)
isAccessible in interface SecurityContextpublic boolean isPasswordValid(String rawPassword)
isPasswordValid in interface SecurityContextpublic boolean isRenewCredentialsIdentity()
isRenewCredentialsIdentity in interface SecurityContextpublic boolean isAdministrator()
isAdministrator in interface SecurityContextpublic boolean renewPassword(String oldPassword, String newPassword)
renewPassword in interface SecurityContextpublic String getAuthorizationMenu()
getAuthorizationMenu in interface SecurityContextCopyright © 2009-2013 web4thejob.org. All Rights Reserved.