Class 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 Detail

      • AuthenticatedEntity

        public AuthenticatedEntity​(Long entityId,
                                   String info,
                                   String outdatedCredentialId)
      • AuthenticatedEntity

        public AuthenticatedEntity​(Long entityId,
                                   Set<String> info,
                                   String outdatedCredentialId)
    • 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)
      • getAuthenticatedWith

        public List<String> getAuthenticatedWith()
      • setAuthenticatedWith

        public void setAuthenticatedWith​(List<String> authenticatedWith)
      • getOutdatedCredentialId

        public String getOutdatedCredentialId()
      • setOutdatedCredentialId

        public void setOutdatedCredentialId​(String outdatedCredentialId)