Class BackendPermissionsEvaluator
java.lang.Object
es.samfc.learning.backend.security.permissions.BackendPermissionsEvaluator
- All Implemented Interfaces:
org.springframework.aop.framework.AopInfrastructureBean
,org.springframework.security.access.PermissionEvaluator
public class BackendPermissionsEvaluator
extends Object
implements org.springframework.security.access.PermissionEvaluator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasPermission
(org.springframework.security.core.Authentication authentication, Serializable targetId, String targetType, Object permission) boolean
hasPermission
(org.springframework.security.core.Authentication authentication, Object targetDomainObject, Object permission)
-
Constructor Details
-
BackendPermissionsEvaluator
-
-
Method Details
-
hasPermission
public boolean hasPermission(org.springframework.security.core.Authentication authentication, Object targetDomainObject, Object permission) - Specified by:
hasPermission
in interfaceorg.springframework.security.access.PermissionEvaluator
-
hasPermission
public boolean hasPermission(org.springframework.security.core.Authentication authentication, Serializable targetId, String targetType, Object permission) - Specified by:
hasPermission
in interfaceorg.springframework.security.access.PermissionEvaluator
-