Class MemoryAuthorizer
- java.lang.Object
-
- org.apache.archiva.redback.rbac.memory.MemoryAuthorizer
-
- All Implemented Interfaces:
Authorizer
@Service("authorizer#memory") public class MemoryAuthorizer extends Object implements Authorizer
-
-
Constructor Summary
Constructors Constructor Description MemoryAuthorizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescriptionKey()
String
getId()
AuthorizationResult
isAuthorized(AuthorizationDataSource source)
boolean
isFinalImplementation()
-
-
-
Constructor Detail
-
MemoryAuthorizer
public MemoryAuthorizer()
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceAuthorizer
-
isAuthorized
public AuthorizationResult isAuthorized(AuthorizationDataSource source) throws AuthorizationException
- Specified by:
isAuthorized
in interfaceAuthorizer
- Returns:
- result of authorization check can be
null
- Throws:
AuthorizationException
-
isFinalImplementation
public boolean isFinalImplementation()
- Specified by:
isFinalImplementation
in interfaceAuthorizer
- Returns:
- true if this implementation is a final one and not a wrapper
-
getDescriptionKey
public String getDescriptionKey()
- Specified by:
getDescriptionKey
in interfaceAuthorizer
- Returns:
- a key to be able to customize label in UI
-
-