Class OpenAuthorizer
- java.lang.Object
-
- org.apache.archiva.redback.authorization.open.OpenAuthorizer
-
- All Implemented Interfaces:
Authorizer
@Service("authorizer#open") public class OpenAuthorizer extends Object implements Authorizer
OpenAuthorizer - No checks for authorization, everything passes.- Author:
- Joakim Erdfelt
-
-
Constructor Summary
Constructors Constructor Description OpenAuthorizer()
-
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
-
OpenAuthorizer
public OpenAuthorizer()
-
-
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
-
-