Package ch.tocco.nice2.security.spi.auth
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
ConstructorDescriptionInvokerUsernamePasswordCredentials
(String username, @Nullable String password) InvokerUsernamePasswordCredentials
(String username, @Nullable String password, boolean ignoreCaptchaVerification) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
If it returns false, the UpdatingAuthListener will not update any principal fields.Methods inherited from class ch.tocco.nice2.security.spi.auth.SimpleUsernamePasswordCredentials
asList, equals, getCaptchaToken, getPassword, getUsername, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.security.spi.auth.LoginCredentials
supportsTwoFactorAuthentication
-
Constructor Details
-
InvokerUsernamePasswordCredentials
-
InvokerUsernamePasswordCredentials
-
-
Method Details
-
updatePrincipalFields
public boolean updatePrincipalFields()Description copied from interface:LoginCredentials
If it returns false, the UpdatingAuthListener will not update any principal fields. -
ignoreCaptchaVerification
public boolean ignoreCaptchaVerification()
-