Class RefreshSessionRejectedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.security.core.AuthenticationException
org.springframework.security.authentication.BadCredentialsException
io.leandev.appfuse.security.auth.RefreshSessionRejectedException
All Implemented Interfaces:
Serializable

public class RefreshSessionRejectedException extends org.springframework.security.authentication.BadCredentialsException

Refresh Session 被拒絕時保留具體技術原因的認證例外。

框架不在引擎內把撤銷、逾期、replay、主體狀態或 policy 拒絕壓成同一句訊息;應用若需要 不透明契約,於最終 HTTP 邊界使用 MinimalErrorDisclosurePolicy 收斂。

See Also:
  • Constructor Details

    • RefreshSessionRejectedException

      public RefreshSessionRejectedException(String message)
    • RefreshSessionRejectedException

      public RefreshSessionRejectedException(String message, Throwable cause)