public abstract class CredentialReader
extends java.lang.Object
The Toolkit provides the following credential readers:
CredentialWriter,
User| Constructor and Description |
|---|
CredentialReader()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkPwd(User user,
SecureStringBuffer password)
Checks the user's password to ensure it obeys the password rules found in
the user's policy settings.
|
abstract java.lang.String |
getType()
Returns the type (name) of this specific credential reader.
|
public CredentialReader()
It sets the default Toolkit Providers in the Java Cryptographic Architecure appropiately.
public void checkPwd(User user, SecureStringBuffer password) throws UserBadPasswordException, java.security.cert.CertificateException
user - the user whose password is being checkedpassword - the password to check.java.security.cert.CertificateException - thrown if there is a problem with the user's policy certificatesUserBadPasswordException - thrown if the user's password does not follow the password rules
in their policy settingspublic abstract java.lang.String getType()