Class NodeSecurityExpressionRoot
- java.lang.Object
-
- org.springframework.security.access.expression.SecurityExpressionRoot
-
- com.levigo.jadice.server.core.security.NodeSecurityExpressionRoot
-
- All Implemented Interfaces:
org.springframework.security.access.expression.SecurityExpressionOperations
public class NodeSecurityExpressionRoot extends org.springframework.security.access.expression.SecurityExpressionRoot
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeSecurityExpressionRoot.DontMatchException
-
Constructor Summary
Constructors Constructor Description NodeSecurityExpressionRoot(org.springframework.security.core.Authentication auth, Node node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
access(String nodeClassName)
boolean
call(String nodeClassName)
Object
property(String nodeClassName, String propertyName)
Object
value(String nodeClassName, String propertyName)
-
Methods inherited from class org.springframework.security.access.expression.SecurityExpressionRoot
denyAll, getAuthentication, getPrincipal, hasAnyAuthority, hasAnyRole, hasAuthority, hasPermission, hasPermission, hasRole, isAnonymous, isAuthenticated, isFullyAuthenticated, isRememberMe, permitAll, setDefaultRolePrefix, setPermissionEvaluator, setRoleHierarchy, setTrustResolver
-
-
-
-
Constructor Detail
-
NodeSecurityExpressionRoot
public NodeSecurityExpressionRoot(org.springframework.security.core.Authentication auth, Node node)
-
-
Method Detail
-
access
public boolean access(String nodeClassName)
-
call
public boolean call(String nodeClassName)
-
value
public Object value(String nodeClassName, String propertyName) throws NodeSecurityExpressionRoot.DontMatchException
-
property
public Object property(String nodeClassName, String propertyName) throws NodeSecurityExpressionRoot.DontMatchException
-
-