protected static class ClientAuthorizationTestCase.TestAuthzCredentialGenerator extends java.lang.Object implements ClientAuthorizationTestCase.TestCredentialGenerator
AuthzCredentialGenerator and implements the ClientAuthorizationTestCase.TestCredentialGenerator
interface.| Constructor and Description |
|---|
TestAuthzCredentialGenerator(AuthzCredentialGenerator authzGen) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Properties |
getAllowedCredentials(OperationContext.OperationCode[] opCodes,
java.lang.String[] regionNames,
int[] keyIndices,
int num)
Get allowed credentials for the given set of operations in the given regions and indices of
KEYS in the
KEYS array |
CredentialGenerator |
getCredentialGenerator()
Get the
CredentialGenerator if any. |
java.util.Properties |
getDisallowedCredentials(OperationContext.OperationCode[] opCodes,
java.lang.String[] regionNames,
int[] keyIndices,
int num)
Get disallowed credentials for the given set of operations in the given regions and indices
of KEYS in the
KEYS array |
public TestAuthzCredentialGenerator(AuthzCredentialGenerator authzGen)
public java.util.Properties getAllowedCredentials(OperationContext.OperationCode[] opCodes, java.lang.String[] regionNames, int[] keyIndices, int num)
ClientAuthorizationTestCase.TestCredentialGeneratorKEYS arraygetAllowedCredentials in interface ClientAuthorizationTestCase.TestCredentialGeneratorpublic java.util.Properties getDisallowedCredentials(OperationContext.OperationCode[] opCodes, java.lang.String[] regionNames, int[] keyIndices, int num)
ClientAuthorizationTestCase.TestCredentialGeneratorKEYS arraygetDisallowedCredentials in interface ClientAuthorizationTestCase.TestCredentialGeneratorpublic CredentialGenerator getCredentialGenerator()
ClientAuthorizationTestCase.TestCredentialGeneratorCredentialGenerator if any.getCredentialGenerator in interface ClientAuthorizationTestCase.TestCredentialGenerator