Class RememberMeCredential
- java.lang.Object
-
- jakarta.security.enterprise.credential.RememberMeCredential
-
- All Implemented Interfaces:
Credential
public class RememberMeCredential extends 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(String token)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 Detail
-
RememberMeCredential
public RememberMeCredential(String token)
Constructor- Parameters:
token
- The token value to compare for authentication.
-
-
Method Detail
-
getToken
public String getToken()
Determines the token value to compare for authentication.- Returns:
- The token value to compare for authentication.
-
-