Class AccessDeniedDetails
java.lang.Object
com.netflix.spinnaker.kork.api.exceptions.AccessDeniedDetails
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionAccessDeniedDetails(String resourceType, String resourceName, String authorization) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
AccessDeniedDetails
-
-
Method Details
-
getResourceType
-
getResourceName
-
getAuthorization
-
hasAuthorization
public boolean hasAuthorization()
-