public abstract class AspectSecurity<UserClass extends org.springframework.security.core.Authentication> extends Object
| Constructor and Description |
|---|
AspectSecurity(SecurityCache<UserClass> securityCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
anyPublicOperation() |
Object |
checkIfMethodAllowed(org.aspectj.lang.ProceedingJoinPoint pjp) |
protected AspectSecurityRule<UserClass> |
getChecker(String rule) |
protected abstract UserClass |
getUser(org.springframework.security.core.Authentication authentication) |
void |
isSecuredBean() |
void |
setDefaultPolicy(String defaultPolicy)
Configures AspectSecurity's default policy (denyAnonymousAccess by
default)
|
public AspectSecurity(SecurityCache<UserClass> securityCache)
protected abstract UserClass getUser(org.springframework.security.core.Authentication authentication)
public final void anyPublicOperation()
public final void isSecuredBean()
public Object checkIfMethodAllowed(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
Throwableprotected AspectSecurityRule<UserClass> getChecker(String rule)
public void setDefaultPolicy(String defaultPolicy)
defaultPolicy - The policy to be enforced if none is found.Copyright © 2016–2018 TechGap Italia. All rights reserved.