Class RemotelyAuthenticatedPrincipal
java.lang.Object
pl.edu.icm.unity.engine.api.authn.remote.RemotelyAuthenticatedPrincipal
Holds information about a user which was obtained and verified by a remote upstream IdP.
The information in this class is in Unity format but need not to have counterparts in the local database.
- Author:
- K. Benedyczak
-
Constructor Summary
ConstructorDescriptionRemotelyAuthenticatedPrincipal
(String remoteIdPName, String inputTranslationProfile) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributes
(Collection<pl.edu.icm.unity.base.attribute.Attribute> attributes) void
addGroups
(Collection<String> groups) void
addIdentities
(Collection<pl.edu.icm.unity.base.identity.IdentityTaV> identities) Collection<pl.edu.icm.unity.base.attribute.Attribute>
Collection<pl.edu.icm.unity.base.identity.IdentityTaV>
pl.edu.icm.unity.base.entity.EntityParam
static boolean
void
void
setCreationTime
(Instant creationTime) void
setLocalMappedPrincipal
(pl.edu.icm.unity.base.entity.EntityParam localMappedPrincipal) void
setMappingResult
(MappingResult mappingResult) void
setSessionParticipants
(Set<SessionParticipant> sessionParticipants) toString()
-
Constructor Details
-
RemotelyAuthenticatedPrincipal
-
-
Method Details
-
getLocalContext
- Returns:
- pseudo remote authn context, which is empty. Used as we don't want to pass null reference in case of local invocations.
-
isLocalContext
-
getIdentities
-
addIdentities
-
getAttributes
-
addAttributes
-
getGroups
-
addGroups
-
getLocalMappedPrincipal
public pl.edu.icm.unity.base.entity.EntityParam getLocalMappedPrincipal() -
setLocalMappedPrincipal
public void setLocalMappedPrincipal(pl.edu.icm.unity.base.entity.EntityParam localMappedPrincipal) -
getRemoteIdPName
-
getInputTranslationProfile
-
getMappingResult
-
setMappingResult
-
setAuthnInput
-
getAuthnInput
-
getSessionParticipants
-
getCreationTime
-
setCreationTime
-
setSessionParticipants
-
toString
-