|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.auth.SignerFactory
public final class SignerFactory
Signer factory.
Method Summary | |
---|---|
static Signer |
getSigner(java.lang.String serviceName,
java.lang.String regionName)
Returns a non-null signer for the specified service and region according to the internal configuration which provides a basic default algorithm used for signer determination. |
static Signer |
getSignerByTypeAndService(java.lang.String signerType,
java.lang.String serviceName)
Returns an instance of the given signer type and configures it with the given service name (if applicable). |
static void |
registerSigner(java.lang.String signerType,
java.lang.Class<? extends Signer> signerClass)
Register an implementation class for the given signer type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void registerSigner(java.lang.String signerType, java.lang.Class<? extends Signer> signerClass)
signerType
- The name of the signer type to register.signerClass
- The class implementing the given signature protocol.public static Signer getSigner(java.lang.String serviceName, java.lang.String regionName)
serviceName
- The name of the service to talk to.regionName
- The name of the region to talk to; not necessarily the region
used for signing.public static Signer getSignerByTypeAndService(java.lang.String signerType, java.lang.String serviceName)
signerType
- The type of signer to create.serviceName
- The name of the service to configure on the signer.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |