Package org.jenkinsci.plugins.oic
Class FailedCheckOfTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jenkinsci.plugins.oic.FailedCheckOfTokenException
- All Implemented Interfaces:
Serializable
,org.kohsuke.stapler.HttpResponse
public class FailedCheckOfTokenException
extends RuntimeException
implements org.kohsuke.stapler.HttpResponse
Exception to be thrown when the received ID Token did not pass the expected check.
It offers a link to log out from the OpenID Connect provider.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateResponse
(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailedCheckOfTokenException
-
-
Method Details
-
getIdpLogoutUrl
-
generateResponse
public void generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) throws IOException, javax.servlet.ServletException - Specified by:
generateResponse
in interfaceorg.kohsuke.stapler.HttpResponse
- Throws:
IOException
javax.servlet.ServletException
-