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.TestCredentialGenerator
KEYS
arraygetAllowedCredentials
in interface ClientAuthorizationTestCase.TestCredentialGenerator
public java.util.Properties getDisallowedCredentials(OperationContext.OperationCode[] opCodes, java.lang.String[] regionNames, int[] keyIndices, int num)
ClientAuthorizationTestCase.TestCredentialGenerator
KEYS
arraygetDisallowedCredentials
in interface ClientAuthorizationTestCase.TestCredentialGenerator
public CredentialGenerator getCredentialGenerator()
ClientAuthorizationTestCase.TestCredentialGenerator
CredentialGenerator
if any.getCredentialGenerator
in interface ClientAuthorizationTestCase.TestCredentialGenerator