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.CredentialExchangeAllows for exchanging a regular passphrase.- Author:
- K. Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringID
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description pl.edu.icm.unity.engine.api.authn.AuthenticationResultcheckPassword(java.lang.String username, java.lang.String password, java.lang.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.CredentialResetgetCredentialResetBackend()
-
-
-
Field Detail
-
ID
static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkPassword
pl.edu.icm.unity.engine.api.authn.AuthenticationResult checkPassword(java.lang.String username, java.lang.String password, java.lang.String formForUnknown, boolean enableAssociation, pl.edu.icm.unity.engine.api.authn.remote.AuthenticationTriggeringContext triggeringContext) throws pl.edu.icm.unity.engine.api.authn.AuthenticationExceptionVerifies 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
-
-