public class PKCSCredentialGenerator extends CredentialGenerator
CredentialGenerator.ClassCode| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
keyStoreDir |
static boolean |
usesIBMJSSE |
javaProperties| Constructor and Description |
|---|
PKCSCredentialGenerator() |
| Modifier and Type | Method and Description |
|---|---|
CredentialGenerator.ClassCode |
classCode()
The
CredentialGenerator.ClassCode of this particular implementation. |
java.lang.String |
getAuthenticator()
The name of the
Authenticator factory function that should be used in conjunction with
the credentials generated by this generator. |
java.lang.String |
getAuthInit()
The name of the
AuthInitialize factory function that should be used in conjunction with
the credentials generated by this generator. |
java.util.Properties |
getInvalidCredentials(int index)
Get a set of invalid credentials generated using the given index.
|
java.util.Properties |
getValidCredentials(int index)
Get a set of valid credentials generated using the given index.
|
java.util.Properties |
getValidCredentials(java.security.Principal principal)
Get a set of valid credentials for the given
Principal. |
protected java.util.Properties |
initialize()
Initialize the credential generator.
|
create, getJavaProperties, getSystemProperties, initpublic static java.lang.String keyStoreDir
public static boolean usesIBMJSSE
protected java.util.Properties initialize()
throws java.lang.IllegalArgumentException
CredentialGeneratorCredentialGenerator.init()
method for convenience of implementations so that they do not need to store in
CredentialGenerator.systemProperties. 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 CredentialGeneratorjava.lang.IllegalArgumentException - when there is a problem during initializationpublic CredentialGenerator.ClassCode classCode()
CredentialGeneratorCredentialGenerator.ClassCode of this particular implementation.classCode in class CredentialGeneratorClassCodepublic java.lang.String getAuthInit()
CredentialGeneratorAuthInitialize factory function that should be used in conjunction with
the credentials generated by this generator.getAuthInit in class CredentialGeneratorAuthInitialize factory functionpublic java.lang.String getAuthenticator()
CredentialGeneratorAuthenticator factory function that should be used in conjunction with
the credentials generated by this generator.getAuthenticator in class CredentialGeneratorAuthenticator factory functionpublic java.util.Properties getInvalidCredentials(int index)
CredentialGeneratorgetInvalidCredentials in class CredentialGeneratorpublic java.util.Properties getValidCredentials(int index)
CredentialGeneratorgetValidCredentials in class CredentialGeneratorpublic java.util.Properties getValidCredentials(java.security.Principal principal)
CredentialGeneratorPrincipal.getValidCredentials in class CredentialGeneratorPrincipal or null if none possible.