Class AuthorizationEndpointChecker.AuthorizationCheckException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.keycloak.protocol.oidc.endpoints.AuthorizationEndpointChecker.AuthorizationCheckException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AuthorizationEndpointChecker
public class AuthorizationEndpointChecker.AuthorizationCheckException extends Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorizationCheckException(javax.ws.rs.core.Response.Status status, String error, String errorDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getError()
String
getErrorDescription()
void
throwAsCorsErrorResponseException(Cors cors)
void
throwAsErrorPageException(AuthenticationSessionModel authenticationSession)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
throwAsErrorPageException
public void throwAsErrorPageException(AuthenticationSessionModel authenticationSession)
-
throwAsCorsErrorResponseException
public void throwAsCorsErrorResponseException(Cors cors)
-
getError
public String getError()
-
getErrorDescription
public String getErrorDescription()
-
-