Class BasicAuthenticationCredential
java.lang.Object
jakarta.security.enterprise.credential.AbstractClearableCredential
jakarta.security.enterprise.credential.UsernamePasswordCredential
jakarta.security.enterprise.credential.BasicAuthenticationCredential
- All Implemented Interfaces:
Credential
public class BasicAuthenticationCredential extends UsernamePasswordCredential
BasicAuthenticationCredential
extends UsernamePasswordCredential
to represent credentials used by HTTP Basic Authentication.-
Constructor Summary
Constructors Constructor Description BasicAuthenticationCredential(java.lang.String authorizationHeader)
Constructor -
Method Summary
Methods inherited from class jakarta.security.enterprise.credential.UsernamePasswordCredential
clearCredential, compareTo, getCaller, getPassword, getPasswordAsString
Methods inherited from class jakarta.security.enterprise.credential.AbstractClearableCredential
clear, isCleared, setCleared
-
Constructor Details
-
BasicAuthenticationCredential
public BasicAuthenticationCredential(java.lang.String authorizationHeader)Constructor- Parameters:
authorizationHeader
- HTTP Basic Authentication header
-