Package io.jenkins.plugins.oidc_provider
Class Issuer
java.lang.Object
io.jenkins.plugins.oidc_provider.Issuer
- Direct Known Subclasses:
FolderIssuer,RootIssuer
Representation of an issuer of tokens.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidCheck permision on thecontext()to enumerate credentials and get their metadata.protected abstract ModelObjectcontext()The associated object in Jenkins.final Collection<? extends IdTokenCredentials> Load credentials from this issuer.toString()protected abstract Stringuri()URI suffix afterhttps://jenkins/oidc.final Stringurl()Absolute URL of issuer.
-
Constructor Details
-
Issuer
public Issuer()
-
-
Method Details
-
context
The associated object in Jenkins. -
credentials
Load credentials from this issuer. Only credentials defined here will be returned—no inherited credentials, unlikeCredentialsProvider.lookupStores(hudson.model.ModelObject)orCredentialsProvider.lookupCredentialsInItemGroup(Class, ItemGroup, Authentication, List).- Returns:
- a possibly empty set of credentials
-
uri
URI suffix afterhttps://jenkins/oidc. Should matchItem.getUrl()or similar methods when applied tocontext(), except with an initial rather than a trailing slash (/).- Returns:
- the empty string, or e.g.
/path/subpath - See Also:
-
url
Absolute URL of issuer.- Returns:
- e.g.
https://jenkins/oidc/path/subpath
-
checkExtendedReadPermission
protected abstract void checkExtendedReadPermission() throws org.springframework.security.access.AccessDeniedExceptionCheck permision on thecontext()to enumerate credentials and get their metadata.- Throws:
org.springframework.security.access.AccessDeniedException
-
toString
-