Class AuthenticatedEntity
java.lang.Object
pl.edu.icm.unity.engine.api.authn.AuthenticatedEntity
Stores information about authenticated entity during the authentication.
This information is stored in LoginSession
along with additional data after authentication is successful.
- Author:
- K. Benedyczak
-
Constructor Summary
ConstructorDescriptionAuthenticatedEntity
(Long entityId, String info, String outdatedCredentialId) AuthenticatedEntity
(Long entityId, Set<String> info, String outdatedCredentialId) AuthenticatedEntity
(Long entityId, AuthenticationSubject authnSubject, String outdatedCredentialId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAuthenticatedWith
(List<String> authenticatedWith) void
setEntityId
(long entityId) void
setOutdatedCredentialId
(String outdatedCredentialId) void
setRemoteIdP
(String remoteIdP) toString()
-
Constructor Details
-
AuthenticatedEntity
public AuthenticatedEntity(Long entityId, AuthenticationSubject authnSubject, String outdatedCredentialId) -
AuthenticatedEntity
-
AuthenticatedEntity
-
-
Method Details
-
getRemoteIdP
- Returns:
- null in case entity was authenticated locally, id of the remote IdP otherwise.
-
setRemoteIdP
-
getEntityId
-
setEntityId
public void setEntityId(long entityId) -
getAuthenticatedWith
-
setAuthenticatedWith
-
getOutdatedCredentialId
-
setOutdatedCredentialId
-
toString
-