|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jets3t.servlets.gatekeeper.Authorizer
org.jets3t.servlets.gatekeeper.impl.DefaultAuthorizer
public class DefaultAuthorizer
Default Authorizer implementation that allows all signature requests.
Constructor Summary | |
---|---|
DefaultAuthorizer(javax.servlet.ServletConfig servletConfig)
Constructs the Authorizer - no configuration parameters are required. |
Method Summary | |
---|---|
boolean |
allowBucketListingRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation)
Returns true in all cases. |
boolean |
allowSignatureRequest(GatekeeperMessage requestMessage,
ClientInformation clientInformation,
SignatureRequest signatureRequest)
Returns true in all cases. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAuthorizer(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
servletConfig
-
javax.servlet.ServletException
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |