Class DefaultAuthorizer
- java.lang.Object
-
- org.jets3t.servlets.gatekeeper.Authorizer
-
- org.jets3t.servlets.gatekeeper.impl.DefaultAuthorizer
-
public class DefaultAuthorizer extends Authorizer
Default Authorizer implementation that allows all signature requests.- Author:
- James Murty
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthorizer(javax.servlet.ServletConfig servletConfig)Constructs the Authorizer - no configuration parameters are required.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowBucketListingRequest(GatekeeperMessage requestMessage, ClientInformation clientInformation)Returns true in all cases.booleanallowSignatureRequest(GatekeeperMessage requestMessage, ClientInformation clientInformation, SignatureRequest signatureRequest)Returns true in all cases.
-
-
-
Method Detail
-
allowSignatureRequest
public boolean allowSignatureRequest(GatekeeperMessage requestMessage, ClientInformation clientInformation, SignatureRequest signatureRequest)
Returns true in all cases.- Specified by:
allowSignatureRequestin classAuthorizer- Parameters:
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.- Returns:
- true if the request is allowed, false otherwise.
-
allowBucketListingRequest
public boolean allowBucketListingRequest(GatekeeperMessage requestMessage, ClientInformation clientInformation)
Returns true in all cases.- Specified by:
allowBucketListingRequestin classAuthorizer- Parameters:
requestMessage- the Gatekeeper request message.clientInformation- information about the client end-point this request was received from.- Returns:
- true if the request is allowed, false otherwise.
-
-