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)
This method is calling
#processRemoteInput(RemotelyAuthenticatedInput) and then
assembleAuthenticationResult(RemotelyAuthenticatedContext) . |
RemotelyAuthenticatedContext |
processRemoteInput(RemotelyAuthenticatedInput input,
String profile,
boolean dryRun)
Invokes the configured translation profile on the remotely obtained authentication input.
|
AuthenticationResult getResult(RemotelyAuthenticatedInput input, String profile, boolean dryRun) 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.EngineException
AuthenticationException
AuthenticationResult 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.EngineException
AuthenticationException
RemotelyAuthenticatedContext processRemoteInput(RemotelyAuthenticatedInput input, String profile, boolean dryRun) 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
- pl.edu.icm.unity.exceptions.EngineException
Copyright © 2017 Unity. All rights reserved.