Package org.flasby.security
Class IpAddressAuthProvider.BannedIpAddressException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.security.core.AuthenticationException
-
- org.springframework.security.authentication.AccountStatusException
-
- org.springframework.security.authentication.DisabledException
-
- org.flasby.security.IpAddressAuthProvider.BannedIpAddressException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- IpAddressAuthProvider
public static class IpAddressAuthProvider.BannedIpAddressException extends org.springframework.security.authentication.DisabledException
annoyingly, the Spring Auth Manager keeps iterating through its list of Auth Providers if one throws an exception unless it's a subclass of AccountStatusException. This is really quite crap, it's enough to be returned a null Authentication object to try the next provider.- See Also:
- Serialized Form
-
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-