Class AccessDeniedDetails
- java.lang.Object
-
- com.netflix.spinnaker.kork.api.exceptions.AccessDeniedDetails
-
- All Implemented Interfaces:
ExceptionDetails
public class AccessDeniedDetails extends java.lang.Object implements ExceptionDetails
Details regarding an access denied exception.TODO(jonsie): We need to migrate fiat-api into a kork module (like kork-authz) so that we can create a proper fiat-api module which would provide things like Fiat's Authorization and ResourceType objects. For now, this object just uses strings to represent resource type and authorization, but eventually should support types provided from fiat-api.
-
-
Constructor Summary
Constructors Constructor Description AccessDeniedDetails(java.lang.String resourceType, java.lang.String resourceName, java.lang.String authorization)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAuthorization()java.lang.StringgetResourceName()java.lang.StringgetResourceType()booleanhasAuthorization()
-