public class MethodSecurityPermissionEvaluator extends Object implements org.springframework.security.access.PermissionEvaluator
| Modifier and Type | Field and Description |
|---|---|
static String |
HAS_PERMISSION_3 |
static String |
HAS_PERMISSION_4 |
| Constructor and Description |
|---|
MethodSecurityPermissionEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasPermission(org.springframework.security.core.Authentication authentication,
Object targetDomainObject,
Object permission) |
boolean |
hasPermission(org.springframework.security.core.Authentication authentication,
Serializable targetId,
String targetType,
Object permission) |
void |
setProjectPermissionEvaluator(org.springframework.security.access.PermissionEvaluator projectPermissionEvaluator) |
void |
setSecurityEnabled(Boolean securityEnabled) |
public static final String HAS_PERMISSION_3
public static final String HAS_PERMISSION_4
public void setProjectPermissionEvaluator(org.springframework.security.access.PermissionEvaluator projectPermissionEvaluator)
public boolean hasPermission(org.springframework.security.core.Authentication authentication,
Object targetDomainObject,
Object permission)
hasPermission in interface org.springframework.security.access.PermissionEvaluatorpublic boolean hasPermission(org.springframework.security.core.Authentication authentication,
Serializable targetId,
String targetType,
Object permission)
hasPermission in interface org.springframework.security.access.PermissionEvaluatorpublic void setSecurityEnabled(Boolean securityEnabled)
Copyright © 2017. All rights reserved.