Class Issuer
java.lang.Object
io.jenkins.plugins.jwt.auth.filter.Issuer
- All Implemented Interfaces:
Describable<Issuer>
Represents a single JWT issuer configuration with its JWKS URL, allowed audience, and protected paths.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatchesPath(String requestURI) Return if the request URI matches any of the protected path patterns for this issuer.voidsetAllowedAudience(String allowedAudience) voidsetEmailClaim(String emailClaim) voidsetGroupsClaim(String groupsClaim) voidsetJwksUrl(String jwksUrl) voidsetNameClaim(String nameClaim) voidsetProtectedPaths(String protectedPaths) voidsetUsernameClaim(String usernameClaim) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Describable
getDescriptor
-
Field Details
-
DEFAULT_USERNAME_CLAIM
- See Also:
-
DEFAULT_NAME_CLAIM
- See Also:
-
DEFAULT_EMAIL_CLAIM
- See Also:
-
DEFAULT_GROUPS_CLAIM
- See Also:
-
-
Constructor Details
-
Issuer
@DataBoundConstructor public Issuer()
-
-
Method Details
-
getJwksUrl
-
setJwksUrl
-
getAllowedAudience
-
setAllowedAudience
-
getProtectedPaths
-
setProtectedPaths
-
getUsernameClaim
-
setUsernameClaim
-
getEffectiveUsernameClaim
-
getNameClaim
-
setNameClaim
-
getEffectiveNameClaim
-
getEmailClaim
-
setEmailClaim
-
getEffectiveEmailClaim
-
getGroupsClaim
-
setGroupsClaim
-
getEffectiveGroupsClaim
-
matchesPath
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
-