Class AbstractRemoteVerificator
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.authn.AbstractVerificator
-
- pl.edu.icm.unity.engine.api.authn.remote.AbstractRemoteVerificator
-
- All Implemented Interfaces:
CredentialExchange
,CredentialVerificator
,StringConfigurable
,DescribedObject
,NamedObject
public abstract class AbstractRemoteVerificator extends AbstractVerificator
Minor helper for remote verificators to properly callRemoteAuthnResultTranslator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialVerificator
CredentialVerificator.VerificatorType
-
-
Field Summary
-
Fields inherited from class pl.edu.icm.unity.engine.api.authn.AbstractVerificator
identityResolver, instanceName
-
-
Constructor Summary
Constructors Constructor Description AbstractRemoteVerificator(String name, String description, String exchangeId, RemoteAuthnResultTranslator translator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AuthenticationResult
addGenericMessageIfError(RemoteAuthenticationResult result, AuthenticationResult.ResolvableError errorMessage)
List<IdPInfo>
getIdPs()
protected RemoteAuthenticationResult
getResult(RemotelyAuthenticatedInput input, TranslationProfile profile, boolean sandboxMode, String registrationForm, boolean allowAssociation)
protected RemoteAuthenticationResult
getResultForNonInteractiveAuthn(RemotelyAuthenticatedInput input, TranslationProfile profile)
static TranslationProfile
getTranslationProfile(UnityPropertiesHelper props, String globalProfileNameKey, String embeddedProfileKey)
-
Methods inherited from class pl.edu.icm.unity.engine.api.authn.AbstractVerificator
getDescription, getExchangeId, getName, setIdentityResolver, setInstanceName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialVerificator
getType
-
Methods inherited from interface pl.edu.icm.unity.engine.api.utils.StringConfigurable
getSerializedConfiguration, setSerializedConfiguration
-
-
-
-
Constructor Detail
-
AbstractRemoteVerificator
public AbstractRemoteVerificator(String name, String description, String exchangeId, RemoteAuthnResultTranslator translator)
-
-
Method Detail
-
getResultForNonInteractiveAuthn
protected RemoteAuthenticationResult getResultForNonInteractiveAuthn(RemotelyAuthenticatedInput input, TranslationProfile profile) throws RemoteAuthenticationException
- Throws:
RemoteAuthenticationException
-
getResult
protected RemoteAuthenticationResult getResult(RemotelyAuthenticatedInput input, TranslationProfile profile, boolean sandboxMode, String registrationForm, boolean allowAssociation) throws RemoteAuthenticationException
- Throws:
RemoteAuthenticationException
-
getTranslationProfile
public static TranslationProfile getTranslationProfile(UnityPropertiesHelper props, String globalProfileNameKey, String embeddedProfileKey) throws eu.unicore.util.configuration.ConfigurationException
- Throws:
eu.unicore.util.configuration.ConfigurationException
-
addGenericMessageIfError
protected AuthenticationResult addGenericMessageIfError(RemoteAuthenticationResult result, AuthenticationResult.ResolvableError errorMessage)
-
-