Interface PasswordExchange
- All Superinterfaces:
pl.edu.icm.unity.engine.api.authn.CredentialExchange
- All Known Implementing Classes:
PasswordVerificator
public interface PasswordExchange
extends pl.edu.icm.unity.engine.api.authn.CredentialExchange
Allows for exchanging a regular passphrase.
- Author:
- K. Benedyczak
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionpl.edu.icm.unity.engine.api.authn.AuthenticationResultcheckPassword(String username, String password, String formForUnknown, boolean enableAssociation, pl.edu.icm.unity.engine.api.authn.remote.AuthenticationTriggeringContext triggeringContext) Verifies the user provided credentials.pl.edu.icm.unity.engine.api.authn.CredentialResetMethods inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialExchange
getExchangeId
-
Field Details
-
ID
- See Also:
-
-
Method Details
-
checkPassword
pl.edu.icm.unity.engine.api.authn.AuthenticationResult checkPassword(String username, String password, String formForUnknown, boolean enableAssociation, pl.edu.icm.unity.engine.api.authn.remote.AuthenticationTriggeringContext triggeringContext) throws pl.edu.icm.unity.engine.api.authn.AuthenticationException Verifies the user provided credentials.- Throws:
pl.edu.icm.unity.engine.api.authn.AuthenticationException
-
getCredentialResetBackend
pl.edu.icm.unity.engine.api.authn.CredentialReset getCredentialResetBackend()- Returns:
- credential reset backend
-