public class DefaultAuthorizer extends Authorizer
Constructor and Description |
---|
DefaultAuthorizer(javax.servlet.ServletConfig servletConfig)
Constructs the Authorizer - no configuration parameters are required.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowBucketListingRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation)
Returns true in all cases.
|
boolean |
allowSignatureRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Returns true in all cases.
|
public DefaultAuthorizer(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
servletConfig
- javax.servlet.ServletException
public boolean allowSignatureRequest(GatekeeperMessage requestMessage, ClientInformation clientInformation, SignatureRequest signatureRequest)
allowSignatureRequest
in class Authorizer
requestMessage
- the Gatekeeper request message.clientInformation
- information about the client end-point this request was received from.signatureRequest
- a signature request to allow or disallow.public boolean allowBucketListingRequest(GatekeeperMessage requestMessage, ClientInformation clientInformation)
allowBucketListingRequest
in class Authorizer
requestMessage
- the Gatekeeper request message.clientInformation
- information about the client end-point this request was received from.