Package org.apache.archiva.redback.keys
Interface AuthenticationKey
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
JpaAuthenticationKey,MemoryAuthenticationKey
public interface AuthenticationKey extends Serializable
AuthenticationKey is an object representing a key established to automatically authenticate a user without the user providing typical login credentials.- Author:
- Joakim Erdfelt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DategetDateCreated()DategetDateExpires()StringgetForPrincipal()StringgetKey()StringgetPurpose()A String representation of what the purpose of existence is for this key.voidsetDateCreated(Date dateCreated)voidsetDateExpires(Date dateExpires)voidsetForPrincipal(String forPrincipal)voidsetKey(String key)voidsetPurpose(String requestedFrom)
-
-
-
Method Detail
-
getDateCreated
Date getDateCreated()
-
getDateExpires
Date getDateExpires()
-
getForPrincipal
String getForPrincipal()
-
getPurpose
String getPurpose()
A String representation of what the purpose of existence is for this key. Examples: "selfservice password reset", "inter system communications", "remember me"- Returns:
-
setDateCreated
void setDateCreated(Date dateCreated)
-
setDateExpires
void setDateExpires(Date dateExpires)
-
setForPrincipal
void setForPrincipal(String forPrincipal)
-
setPurpose
void setPurpose(String requestedFrom)
-
-