|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.Restlet
org.restlet.routing.Filter
org.restlet.security.Authenticator
org.restlet.security.ChallengeAuthenticator
org.restlet.ext.crypto.AwsAuthenticator
public class AwsAuthenticator
Authenticator supporting the ChallengeScheme.HTTP_AWS_S3
scheme.
Field Summary |
---|
Fields inherited from class org.restlet.routing.Filter |
---|
CONTINUE, SKIP, STOP |
Constructor Summary | |
---|---|
AwsAuthenticator(Context context,
boolean optional,
String realm)
Creates a new HttpAwsS3Authenticator instance. |
|
AwsAuthenticator(Context context,
boolean optional,
String realm,
Verifier verifier)
Creates a new HttpAwsS3Authenticator instance. |
|
AwsAuthenticator(Context context,
String realm)
Creates a new HttpAwsS3Authenticator instance. |
Method Summary | |
---|---|
long |
getMaxRequestAge()
Returns the maximum age of a request, in milliseconds, before it is considered stale. |
org.restlet.ext.crypto.internal.AwsVerifier |
getVerifier()
|
LocalVerifier |
getWrappedVerifier()
Returns the secret verifier that will be wrapped by the real verifier supporting all the HTTP AWS verifications. |
void |
setMaxRequestAge(long value)
Sets the maximum age of a request, in milliseconds, before it is considered stale. |
void |
setVerifier(Verifier verifier)
Sets the internal verifier. |
void |
setWrappedVerifier(LocalVerifier verifier)
Sets the secret verifier that will be wrapped by the real verifier supporting all the HTTP AWS verifications. |
Methods inherited from class org.restlet.security.ChallengeAuthenticator |
---|
authenticate, challenge, createChallengeRequest, forbid, getRealm, getScheme, isRechallenging, setRealm, setRechallenging |
Methods inherited from class org.restlet.security.Authenticator |
---|
authenticated, beforeHandle, getEnroler, isMultiAuthenticating, isOptional, setEnroler, setMultiAuthenticating, setOptional, unauthenticated |
Methods inherited from class org.restlet.routing.Filter |
---|
afterHandle, doHandle, getNext, handle, hasNext, setNext, setNext, start, stop |
Methods inherited from class org.restlet.Restlet |
---|
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AwsAuthenticator(Context context, String realm)
context
- The contextrealm
- The authentication realmpublic AwsAuthenticator(Context context, boolean optional, String realm)
context
- The contextoptional
- Indicates if the authentication success is optionalrealm
- The authentication realmpublic AwsAuthenticator(Context context, boolean optional, String realm, Verifier verifier)
context
- The contextoptional
- Indicates if the authentication success is optionalrealm
- The authentication realmverifier
- Method Detail |
---|
public long getMaxRequestAge()
A negative or zero value indicates no age restriction. The default value is 15 minutes.
public void setMaxRequestAge(long value)
A negative or zero value indicates no age restriction. The default value is 15 minutes.
public org.restlet.ext.crypto.internal.AwsVerifier getVerifier()
getVerifier
in class ChallengeAuthenticator
public void setVerifier(Verifier verifier)
wrappedVerifier
via the
setWrappedVerifier(LocalVerifier)
method.
setVerifier
in class ChallengeAuthenticator
public LocalVerifier getWrappedVerifier()
public void setWrappedVerifier(LocalVerifier verifier)
verifier
- The local verifier to wrap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |