public abstract class PasswordCredentials extends Object implements Credentials
Credentialsimplementation that may be used by an
AuthenticationProviderthat provides password-based authentication. The built-in
AuthenticationProviderrequires that the
Credentialsobject passed be an instance of this class. If you implement a custom password-based
AuthenticationProvider, it is recommended that you accept instances of this class, but you are not required to. If you accept instances of this class it allows switching to your implementation from the built-in implementation without any changes in the calling code. .
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the password contained in this credentials instance
public abstract char getPassword()
public static PasswordCredentials newInstance(char password)
OACC is a Java Application Security Framework developed by Acciente, LLC..
Copyright 2015, Acciente, LLC.All rights reserved.