Class AuthenticatedEntity
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.AuthenticatedEntity
-
public class AuthenticatedEntity extends Object
Stores information about authenticated entity during the authentication.This information is stored in
LoginSessionalong with additional data after authentication is successful.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description AuthenticatedEntity(Long entityId, String info, String outdatedCredentialId)AuthenticatedEntity(Long entityId, Set<String> info, String outdatedCredentialId)AuthenticatedEntity(Long entityId, AuthenticationSubject authnSubject, String outdatedCredentialId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAuthenticatedWith()LonggetEntityId()StringgetOutdatedCredentialId()StringgetRemoteIdP()voidsetAuthenticatedWith(List<String> authenticatedWith)voidsetEntityId(long entityId)voidsetOutdatedCredentialId(String outdatedCredentialId)voidsetRemoteIdP(String remoteIdP)StringtoString()
-
-
-
Method Detail
-
getRemoteIdP
public String getRemoteIdP()
- Returns:
- null in case entity was authenticated locally, id of the remote IdP otherwise.
-
setRemoteIdP
public void setRemoteIdP(String remoteIdP)
-
getEntityId
public Long getEntityId()
-
setEntityId
public void setEntityId(long entityId)
-
getOutdatedCredentialId
public String getOutdatedCredentialId()
-
setOutdatedCredentialId
public void setOutdatedCredentialId(String outdatedCredentialId)
-
-