public class DummyCredentialGenerator extends CredentialGenerator
CredentialGenerator.ClassCodejavaProps| Constructor and Description |
|---|
DummyCredentialGenerator() |
| Modifier and Type | Method and Description |
|---|---|
CredentialGenerator.ClassCode |
classCode()
The
CredentialGenerator.ClassCode of this particular implementation. |
String |
getAuthenticator()
The name of the
Authenticator factory function that should be used
in conjunction with the credentials generated by this generator. |
String |
getAuthInit()
The name of the
AuthInitialize factory function that should be used
in conjunction with the credentials generated by this generator. |
Properties |
getInvalidCredentials(int index)
Get a set of invalid credentials generated using the given index.
|
Properties |
getValidCredentials(int index)
Get a set of valid credentials generated using the given index.
|
Properties |
getValidCredentials(Principal principal)
Get a set of valid credentials for the given
Principal. |
protected Properties |
initialize()
Initialize the credential generator.
|
create, getJavaProperties, getSystemProperties, initprotected Properties initialize() throws IllegalArgumentException
CredentialGeneratorCredentialGenerator.init() method for convenience of implementations so that they do not
need to store in CredentialGenerator.sysProps. The latter is convenient for the users
who do not need to store these properties rather can obtain it later by
invoking CredentialGenerator.getSystemProperties()
Required to be implemented by concrete classes that implement this abstract
class.initialize in class CredentialGeneratorIllegalArgumentException - when there is a problem during initializationpublic CredentialGenerator.ClassCode classCode()
CredentialGeneratorCredentialGenerator.ClassCode of this particular implementation.classCode in class CredentialGeneratorClassCodepublic String getAuthInit()
CredentialGeneratorAuthInitialize factory function that should be used
in conjunction with the credentials generated by this generator.getAuthInit in class CredentialGeneratorAuthInitialize factory functionpublic String getAuthenticator()
CredentialGeneratorAuthenticator factory function that should be used
in conjunction with the credentials generated by this generator.getAuthenticator in class CredentialGeneratorAuthenticator factory functionpublic Properties getValidCredentials(int index)
CredentialGeneratorgetValidCredentials in class CredentialGeneratorpublic Properties getValidCredentials(Principal principal)
CredentialGeneratorPrincipal.getValidCredentials in class CredentialGeneratorPrincipal or null if none
possible.public Properties getInvalidCredentials(int index)
CredentialGeneratorgetInvalidCredentials in class CredentialGeneratorCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.