Package | Description |
---|---|
pl.edu.icm.unity.engine.api.authn |
Authentication related API and utilities
|
pl.edu.icm.unity.engine.api.session |
Unity login session API
|
Modifier and Type | Method and Description |
---|---|
LoginSession.RememberMeInfo |
LoginSession.getRememberMeInfo() |
Modifier and Type | Method and Description |
---|---|
void |
LoginSession.setRememberMeInfo(LoginSession.RememberMeInfo rememberMeInfo) |
Constructor and Description |
---|
LoginSession(String id,
Date started,
Date expires,
long maxInactivity,
long entityId,
String realm,
LoginSession.RememberMeInfo rememberMeInfo,
LoginSession.AuthNInfo login1stFactor,
LoginSession.AuthNInfo login2ndFactor)
Construct a session with absolute expiration.
|
LoginSession(String id,
Date started,
long maxInactivity,
long entityId,
String realm,
LoginSession.RememberMeInfo rememberMeInfo,
LoginSession.AuthNInfo login1stFactor,
LoginSession.AuthNInfo login2ndFactor)
Constructs a session with relative expiration
|
Modifier and Type | Method and Description |
---|---|
LoginSession |
SessionManagement.createSession(long loggedEntity,
pl.edu.icm.unity.types.authn.AuthenticationRealm realm,
String label,
String outdatedCredentialId,
LoginSession.RememberMeInfo rememberMeInfo,
String firstFactorOptionId,
String secondFactorOptionId)
Creates new session
|
LoginSession |
SessionManagement.getCreateSession(long loggedEntity,
pl.edu.icm.unity.types.authn.AuthenticationRealm realm,
String label,
String outdatedCredentialId,
LoginSession.RememberMeInfo rememberMeInfo,
String firstFactorOptionId,
String secondFactorOptionId)
Tries to find a session for the entity in the given realm.
|
Copyright © 2018 Unity. All rights reserved.