Class UstraSecurityAuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gsitm.ustra.java.core.exception.UstraException
com.gsitm.ustra.java.security.exception.UstraSecurityException
com.gsitm.ustra.java.security.exception.UstraSecurityAuthenticationException
- All Implemented Interfaces:
com.gsitm.ustra.java.core.exception.ResponseCode<Object>,Serializable
인증 처리 시 사용되는 예외 클래스
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields inherited from interface com.gsitm.ustra.java.core.exception.ResponseCode
logger -
Constructor Summary
ConstructorsConstructorDescriptionUstraSecurityAuthenticationException(com.gsitm.ustra.java.core.exception.ResponseCode<?> code) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanfrom(com.gsitm.ustra.java.core.exception.ResponseCode<?> resCode) 인증 예외 생성인증 실패 정보 조회클라이언트에 응답할 코드inthashCode()of(com.gsitm.ustra.java.core.exception.ResponseCode<?> resCode, UstraAuthenticationRequestToken requestToken, UstraUser user) 인증 예외 생성toString()Methods inherited from class com.gsitm.ustra.java.security.exception.UstraSecurityException
httpStatusCodeMethods inherited from class com.gsitm.ustra.java.core.exception.UstraException
getCode, getData, getErrs, getMessage, getMessageArguments, getStatusCode, isSuccess, setCode, setData, setErrs, setMessage, setMessageArguments, setStatusCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gsitm.ustra.java.core.exception.ResponseCode
exception, exception, exception, getBody, messageArguments, messageCode
-
Constructor Details
-
UstraSecurityAuthenticationException
public UstraSecurityAuthenticationException(com.gsitm.ustra.java.core.exception.ResponseCode<?> code)
-
-
Method Details
-
getAuthenticationFailureData
public UstraSecurityAuthenticationException.AuthenticationFailureData getAuthenticationFailureData()인증 실패 정보 조회- Returns:
-
getClientOutputCode
클라이언트에 응답할 코드- Returns:
-
from
public static UstraSecurityAuthenticationException from(com.gsitm.ustra.java.core.exception.ResponseCode<?> resCode) 인증 예외 생성- Parameters:
resCode- 응답 코드- Returns:
-
of
public static UstraSecurityAuthenticationException of(com.gsitm.ustra.java.core.exception.ResponseCode<?> resCode, UstraAuthenticationRequestToken requestToken, UstraUser user) 인증 예외 생성- Parameters:
resCode- 응답 코드requestToken- 요청 토큰user- 사용자 정보- Returns:
-
toString
- Overrides:
toStringin classUstraSecurityException
-
equals
- Overrides:
equalsin classUstraSecurityException
-
canEqual
- Overrides:
canEqualin classUstraSecurityException
-
hashCode
public int hashCode()- Overrides:
hashCodein classUstraSecurityException
-