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
ConstructorsConstructorDescriptionAbstractRemoteVerificator(String name, String description, String exchangeId, RemoteAuthnResultTranslator translator) -
Method Summary
Modifier and TypeMethodDescriptionprotected AuthenticationResultaddGenericMessageIfError(RemoteAuthenticationResult result, AuthenticationResult.ResolvableError errorMessage) getIdPs()protected RemoteAuthenticationResultgetResult(RemotelyAuthenticatedInput input, TranslationProfile profile, boolean sandboxMode, String registrationForm, boolean allowAssociation) protected RemoteAuthenticationResultstatic TranslationProfilegetTranslationProfile(UnityPropertiesHelper props, String globalProfileNameKey, String embeddedProfileKey) Methods inherited from class pl.edu.icm.unity.engine.api.authn.AbstractVerificator
getDescription, getExchangeId, getName, setIdentityResolver, setInstanceNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialVerificator
getTypeMethods 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
-