public class CredentialFactory extends Object
Constructor and Description |
---|
CredentialFactory() |
Modifier and Type | Method and Description |
---|---|
static Credential |
createCredential(char[] value)
Give a credential value (assumed from a keystore), attempt to determine what type of Credential
is represented and create the appropriate Credential implementation.
|
public static Credential createCredential(char[] value) throws InvalidCredentialValueException
value
- the raw credential valueInvalidCredentialValueException
- if an error occurs while parsing the raw credential valueCopyright © 2022 Apache Software Foundation. All rights reserved.