public class PKCSCredentialGenerator extends CredentialGenerator
CredentialGenerator.ClassCode| Modifier and Type | Field and Description |
|---|---|
static String |
keyStoreDir |
static boolean |
usesIBMJSSE |
javaProps| Constructor and Description |
|---|
PKCSCredentialGenerator() |
| 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, initpublic static String keyStoreDir
public static boolean usesIBMJSSE
public 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 getInvalidCredentials(int index)
CredentialGeneratorgetInvalidCredentials in class CredentialGeneratorpublic Properties getValidCredentials(int index)
CredentialGeneratorgetValidCredentials in class CredentialGeneratorpublic Properties getValidCredentials(Principal principal)
CredentialGeneratorPrincipal.getValidCredentials in class CredentialGeneratorPrincipal or null if none
possible.protected 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 initializationCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.