Package io.jenkins.plugins.oidc_provider
Class FolderIssuer
- java.lang.Object
-
- io.jenkins.plugins.oidc_provider.Issuer
-
- io.jenkins.plugins.oidc_provider.FolderIssuer
-
public final class FolderIssuer extends Issuer
Issuer scoped to a folder with credentials defined (directly) there.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FolderIssuer.Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkExtendedReadPermission()
Check permision on theIssuer.context()
to enumerate credentials and get their metadata.protected ModelObject
context()
The associated object in Jenkins.protected String
uri()
Usually the same asAbstractItem.getUrl()
(with leading rather than trailing slash) but ignores “current” view as well as unusualItemGroup.getUrlChildPrefix()
s.-
Methods inherited from class io.jenkins.plugins.oidc_provider.Issuer
credentials, toString, url
-
-
-
-
Method Detail
-
context
protected ModelObject context()
Description copied from class:Issuer
The associated object in Jenkins.
-
uri
protected String uri()
Usually the same asAbstractItem.getUrl()
(with leading rather than trailing slash) but ignores “current” view as well as unusualItemGroup.getUrlChildPrefix()
s. (In practice there are no overrides of the latter whose children could be folders.)- Specified by:
uri
in classIssuer
- Returns:
- the empty string, or e.g.
/path/subpath
- See Also:
- Marker interface for things with URL
-
checkExtendedReadPermission
protected void checkExtendedReadPermission() throws org.springframework.security.access.AccessDeniedException
Description copied from class:Issuer
Check permision on theIssuer.context()
to enumerate credentials and get their metadata.- Specified by:
checkExtendedReadPermission
in classIssuer
- Throws:
org.springframework.security.access.AccessDeniedException
-
-