Class PasswordExpiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inductiveautomation.ignition.gateway.user.PasswordExpiredException
- All Implemented Interfaces:
Serializable
Throw this from
UserSourceProfile.authenticate(AuthChallenge)
if the password was correct but expired.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPasswordExpiredException
(String userSource) PasswordExpiredException
(String userSource, String username) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PasswordExpiredException
public PasswordExpiredException() -
PasswordExpiredException
-
PasswordExpiredException
-
-
Method Details
-
getUserSource
- Returns:
- an
Optional
containing the name of the user source profile containing the user whose password has expired, in case the user's password has expired in a failover user source. if the Optional is empty, the same user source used for authentication which threw this exception.
-
getUsername
-