Class BasicAuthenticationCredential
java.lang.Object
jakarta.security.enterprise.credential.AbstractClearableCredential
jakarta.security.enterprise.credential.UsernamePasswordCredential
jakarta.security.enterprise.credential.BasicAuthenticationCredential
- All Implemented Interfaces:
Credential
BasicAuthenticationCredential extends UsernamePasswordCredential
to represent credentials used by HTTP Basic Authentication.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class UsernamePasswordCredential
clearCredential, compareTo, getCaller, getPassword, getPasswordAsStringModifier and TypeMethodDescriptionvoidInvokes the specific subclass to securely clear the credential value.booleanDetermines the password.Determines the password.Methods inherited from class AbstractClearableCredential
clear, isCleared, setClearedModifier and TypeMethodDescriptionfinal voidclear()Clears the credential.final booleanDetermines whether the credential value has been securely cleared.protected final voidSpecifies that the credential value has been securely cleared.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Credential
isValidModifier and TypeMethodDescriptiondefault booleanisValid()Determines whether the credential is valid.
-
Constructor Details
-
BasicAuthenticationCredential
Constructor- Parameters:
authorizationHeader- HTTP Basic Authentication header
-