Class RememberMeCredential
java.lang.Object
jakarta.security.enterprise.credential.RememberMeCredential
- All Implemented Interfaces:
Credential
public class RememberMeCredential extends java.lang.Object implements Credential
RememberMeCredential
represents a credential presented as a token,
for the explicit usage with the Jakarta Security provided remember me function.-
Constructor Summary
Constructors Constructor Description RememberMeCredential(java.lang.String token)
Constructor -
Method Summary
Modifier and Type Method Description java.lang.String
getToken()
Determines the token value to compare for authentication.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
clear, isCleared, isValid
-
Constructor Details
-
RememberMeCredential
public RememberMeCredential(java.lang.String token)Constructor- Parameters:
token
- The token value to compare for authentication.
-
-
Method Details
-
getToken
public java.lang.String getToken()Determines the token value to compare for authentication.- Returns:
- The token value to compare for authentication.
-