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 Details

    • FailedCheckOfTokenException

      public FailedCheckOfTokenException(@CheckForNull String idpLogoutUrl)
  • Method Details

    • getIdpLogoutUrl

      @CheckForNull public String 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 interface org.kohsuke.stapler.HttpResponse
      Throws:
      IOException
      javax.servlet.ServletException