Class RemotelyAuthenticatedInput
java.lang.Object
pl.edu.icm.unity.engine.api.authn.remote.RemotelyAuthenticatedInput
Holds a raw information obtained from an upstream IdP. The purpose of this class is to provide a common interchange
format between a pluggable upstream IdP implementation and a fixed code of RemoteVerficator.
The data in this class typically should not be translated, unless an upstream IdP strictly requires some translation to be able to populate the contents. The actual mapping of this data to the locally meaningful information is done using this class as an input.
- Author:
- K. Benedyczak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(RemoteAttribute attribute) voidaddGroup(RemoteGroupMembership group) voidvoidaddSessionParticipant(SessionParticipant sessionParticipant) voidsetAttributes(List<RemoteAttribute> attributes) voidsetAuthenticationTime(Instant authenticationTime) voidsetGroups(List<RemoteGroupMembership> groups) voidsetIdentities(List<RemoteIdentity> identities) voidsetIdpName(String idpName) voidsetRawAttributes(Map<String, ? extends Object> rawAttributes) voidsetRemoteAuthnMetadata(RemoteAuthnMetadata authnContext) toString()
-
Constructor Details
-
RemotelyAuthenticatedInput
-
-
Method Details
-
getIdpName
-
setIdpName
-
setGroups
-
setAttributes
-
setIdentities
-
addIdentity
-
addAttribute
-
addGroup
-
getGroups
-
getAttributes
-
getIdentities
-
getSessionParticipants
-
addSessionParticipant
-
getRawAttributes
-
setRawAttributes
-
getRemoteAuthnMetadata
-
setRemoteAuthnMetadata
-
toString
-
getAuthenticationTime
-
setAuthenticationTime
-
getTextDump
- Returns:
- Multiline string with a complete contents
-