Interface Authorizer
-
- All Known Implementing Classes:
MemoryAuthorizer,OpenAuthorizer,RbacAuthorizer
public interface Authorizer
Authorizer:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescriptionKey()StringgetId()AuthorizationResultisAuthorized(AuthorizationDataSource source)booleanisFinalImplementation()
-
-
-
Method Detail
-
isAuthorized
AuthorizationResult isAuthorized(AuthorizationDataSource source) throws AuthorizationException
- Parameters:
source-- Returns:
- result of authorization check can be
null - Throws:
AuthorizationException
-
isFinalImplementation
boolean isFinalImplementation()
- Returns:
- true if this implementation is a final one and not a wrapper
- Since:
- 2.1
-
getDescriptionKey
String getDescriptionKey()
- Returns:
- a key to be able to customize label in UI
- Since:
- 2.1
-
-