Class Issuer

java.lang.Object
io.jenkins.plugins.jwt.auth.filter.Issuer
All Implemented Interfaces:
Describable<Issuer>

public class Issuer extends Object implements Describable<Issuer>
Represents a single JWT issuer configuration with its JWKS URL, allowed audience, and protected paths.
  • Constructor Details

    • Issuer

      @DataBoundConstructor public Issuer()
  • Method Details

    • getJwksUrl

      public String getJwksUrl()
    • setJwksUrl

      @DataBoundSetter public void setJwksUrl(String jwksUrl)
    • getAllowedAudience

      public String getAllowedAudience()
    • setAllowedAudience

      @DataBoundSetter public void setAllowedAudience(String allowedAudience)
    • getProtectedPaths

      public String getProtectedPaths()
    • setProtectedPaths

      @DataBoundSetter public void setProtectedPaths(String protectedPaths)
    • matchesPath

      public boolean matchesPath(String requestURI)
      Return if the request URI matches any of the protected path patterns for this issuer.
      Parameters:
      requestURI - The request URI
      Returns:
      True if the URI matches any protected path pattern, false otherwise