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<Attribute> attributes) void
addGroups
(Collection<String> groups) void
addIdentities
(Collection<IdentityTaV> identities) static boolean
void
void
setCreationTime
(Instant creationTime) void
setLocalMappedPrincipal
(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
-
setLocalMappedPrincipal
-
getRemoteIdPName
-
getInputTranslationProfile
-
getMappingResult
-
setMappingResult
-
setAuthnInput
-
getAuthnInput
-
getSessionParticipants
-
getCreationTime
-
setCreationTime
-
setSessionParticipants
-
toString
-