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
LoginSession
along 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()
Long
getEntityId()
String
getOutdatedCredentialId()
String
getRemoteIdP()
void
setAuthenticatedWith(List<String> authenticatedWith)
void
setEntityId(long entityId)
void
setOutdatedCredentialId(String outdatedCredentialId)
void
setRemoteIdP(String remoteIdP)
String
toString()
-
-
-
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)
-
-