Package com.netflix.spinnaker.security
Interface UserPermissionEvaluator
- All Superinterfaces:
org.springframework.aop.framework.AopInfrastructureBean,org.springframework.security.access.PermissionEvaluator
public interface UserPermissionEvaluator
extends org.springframework.security.access.PermissionEvaluator
Make it possible to authorize by username in kork (e.g. in S3ArtifactStoreGetter), as
FiatPermissionEvaluator currently does.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhasPermission(String username, Serializable resourceName, String resourceType, Object authorization) Methods inherited from interface org.springframework.security.access.PermissionEvaluator
hasPermission, hasPermission
-
Method Details
-
hasPermission
boolean hasPermission(String username, Serializable resourceName, String resourceType, Object authorization)
-