Class LoginPolicyDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.core.AuthenticationException
io.leandev.appfuse.security.auth.LoginPolicyDeniedException
- All Implemented Interfaces:
Serializable
public class LoginPolicyDeniedException
extends org.springframework.security.core.AuthenticationException
登入政策拒絕的具體診斷通道(ADR-023 修訂)
LoginPolicy 回 false 時引擎會建立本例外;政策實作也可拋子類加入產品特定欄位。
原始訊息與例外型別不在引擎內壓平,統一交由 HTTP response 的揭露政策決定。
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.security.core.AuthenticationException
getAuthenticationRequest, setAuthenticationRequestMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LoginPolicyDeniedException
-