java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.core.AuthenticationException
org.springframework.security.authentication.AccountStatusException
org.craftercms.studio.api.v2.security.authentication.LockedException
All Implemented Interfaces:
Serializable

public class LockedException extends org.springframework.security.authentication.AccountStatusException
Exception thrown when an authentication attempt is rejected because the account is locked.
Since:
4.1.2
See Also:
  • Constructor Details

    • LockedException

      public LockedException(String username, String msg, long lockedTimeSeconds)
  • Method Details

    • getLockedTimeSeconds

      public long getLockedTimeSeconds()
    • getUsername

      public String getUsername()