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.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.kohsuke.stapler.HttpResponse
generateResponse
-
Constructor Details
-
FailedCheckOfTokenException
-
-
Method Details
-
getIdpLogoutUrl
-
generateResponse
public void generateResponse(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node) throws IOException, jakarta.servlet.ServletException - Specified by:
generateResponse
in interfaceorg.kohsuke.stapler.HttpResponse
- Throws:
IOException
jakarta.servlet.ServletException
-