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
Minor helper for remote verificators to properly call
RemoteAuthnResultTranslator
-
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
ConstructorDescriptionAbstractRemoteVerificator
(String name, String description, String exchangeId, RemoteAuthnResultTranslator translator) -
Method Summary
Modifier and TypeMethodDescriptionprotected AuthenticationResult
addGenericMessageIfError
(RemoteAuthenticationResult result, AuthenticationResult.ResolvableError errorMessage) getIdPs()
protected RemoteAuthenticationResult
getResult
(RemotelyAuthenticatedInput input, TranslationProfile profile, boolean sandboxMode, String registrationForm, boolean allowAssociation) protected RemoteAuthenticationResult
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 Details
-
AbstractRemoteVerificator
public AbstractRemoteVerificator(String name, String description, String exchangeId, RemoteAuthnResultTranslator translator)
-
-
Method Details
-
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) -
getIdPs
-