Class InvokerUsernamePasswordCredentials
java.lang.Object
ch.tocco.nice2.security.spi.auth.SimpleUsernamePasswordCredentials
ch.tocco.nice2.security.spi.auth.InvokerUsernamePasswordCredentials
- All Implemented Interfaces:
Credentials, LoginCredentials, UsernamePasswordCredentials, Serializable
Simple
UsernamePasswordCredentials holding information in String objects.
If these credentials are used, the UpdatingAuthListener will not trigger.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvokerUsernamePasswordCredentials(String username, @Nullable String password) InvokerUsernamePasswordCredentials(String username, @Nullable String password, boolean ignoreCaptchaVerification) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanIf it returns false, the UpdatingAuthListener will not update any principal fields.Methods inherited from class SimpleUsernamePasswordCredentials
asList, equals, getCaptchaToken, getPassword, getUsername, hashCode, toStringMethods inherited from interface LoginCredentials
supportsTwoFactorAuthentication
-
Constructor Details
-
InvokerUsernamePasswordCredentials
-
InvokerUsernamePasswordCredentials
-
-
Method Details
-
updatePrincipalFields
public boolean updatePrincipalFields()Description copied from interface:LoginCredentialsIf it returns false, the UpdatingAuthListener will not update any principal fields. -
ignoreCaptchaVerification
public boolean ignoreCaptchaVerification()
-