public class RemoteAuthenticationContextManagement<T extends RemoteAuthnState> extends Object
This class is not anyhow persisted, so after restart all information is lost. This is intended.
Naturally this class is thread safe.
| Modifier and Type | Field and Description |
|---|---|
static long |
CLEANUP_INTERVAL |
static long |
MAX_TTL |
| Constructor and Description |
|---|
RemoteAuthenticationContextManagement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthnContext(T context) |
T |
getAuthnContext(String relayState) |
void |
removeAuthnContext(String relayState) |
public static final long MAX_TTL
public static final long CLEANUP_INTERVAL
public RemoteAuthenticationContextManagement()
public void addAuthnContext(T context)
public T getAuthnContext(String relayState) throws pl.edu.icm.unity.exceptions.WrongArgumentException
pl.edu.icm.unity.exceptions.WrongArgumentExceptionpublic void removeAuthnContext(String relayState)
Copyright © 2018 Unity. All rights reserved.