public interface RemoteAuthnResultProcessor
RemotelyAuthenticatedInput by applying a translation profile to it and
returns RemotelyAuthenticatedContext or AuthenticationResult depending whether
caller wants to have a possibility to postprocess the translation profile output or not.| Modifier and Type | Method and Description |
|---|---|
AuthenticationResult |
assembleAuthenticationResult(RemotelyAuthenticatedContext remoteContext)
Tries to resolve the primary identity from the previously created
RemotelyAuthenticatedContext
(usually via #processRemoteInput(RemotelyAuthenticatedInput)) and returns a
final AuthenticationResult depending on the success of this action. |
AuthenticationResult |
getResult(RemotelyAuthenticatedInput input,
String profile,
boolean dryRun,
Optional<pl.edu.icm.unity.types.basic.IdentityTaV> identity)
This method is calling
#processRemoteInput(RemotelyAuthenticatedInput) and then
assembleAuthenticationResult(RemotelyAuthenticatedContext). |
RemotelyAuthenticatedContext |
processRemoteInput(RemotelyAuthenticatedInput input,
String profile,
boolean dryRun,
Optional<pl.edu.icm.unity.types.basic.IdentityTaV> identity)
Invokes the configured translation profile on the remotely obtained authentication input.
|
AuthenticationResult getResult(RemotelyAuthenticatedInput input, String profile, boolean dryRun, Optional<pl.edu.icm.unity.types.basic.IdentityTaV> identity) throws AuthenticationException
#processRemoteInput(RemotelyAuthenticatedInput) and then
assembleAuthenticationResult(RemotelyAuthenticatedContext).
Usually it is the only one that is used, when RemotelyAuthenticatedInput
is obtained in an implementation specific way.input - pl.edu.icm.unity.exceptions.EngineExceptionAuthenticationExceptionAuthenticationResult assembleAuthenticationResult(RemotelyAuthenticatedContext remoteContext) throws AuthenticationException
RemotelyAuthenticatedContext
(usually via #processRemoteInput(RemotelyAuthenticatedInput)) and returns a
final AuthenticationResult depending on the success of this action.remoteContext - pl.edu.icm.unity.exceptions.EngineExceptionAuthenticationExceptionRemotelyAuthenticatedContext processRemoteInput(RemotelyAuthenticatedInput input, String profile, boolean dryRun, Optional<pl.edu.icm.unity.types.basic.IdentityTaV> identity) throws pl.edu.icm.unity.exceptions.EngineException
RemotelyAuthenticatedContext from the processed input containing the information about what
from the remote data is or can be meaningful in the local DB.input - identity - if not empty then fixes the identity for which the profile is executed.pl.edu.icm.unity.exceptions.EngineExceptionCopyright © 2018 Unity. All rights reserved.