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 String
getDescriptionKey()
String
getId()
AuthorizationResult
isAuthorized(AuthorizationDataSource source)
boolean
isFinalImplementation()
-
-
-
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
-
-