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
extendsUsernamePasswordCredential
to represent credentials used by HTTP Basic Authentication.
-
-
Constructor Summary
Constructors Constructor Description BasicAuthenticationCredential(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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jakarta.security.enterprise.credential.Credential
isValid
-
-
-
-
Constructor Detail
-
BasicAuthenticationCredential
public BasicAuthenticationCredential(String authorizationHeader)
Constructor- Parameters:
authorizationHeader
- HTTP Basic Authentication header
-
-