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 Date
getDateCreated()
Date
getDateExpires()
String
getForPrincipal()
String
getKey()
String
getPurpose()
A String representation of what the purpose of existence is for this key.void
setDateCreated(Date dateCreated)
void
setDateExpires(Date dateExpires)
void
setForPrincipal(String forPrincipal)
void
setKey(String key)
void
setPurpose(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)
-
-