Class Issuer

    • Constructor Detail

      • Issuer

        public Issuer()
    • Method Detail

      • context

        @NonNull
        protected abstract ModelObject context()
        The associated object in Jenkins.
      • credentials

        @NonNull
        public final Collection<? extends IdTokenCredentials> credentials()
        Load credentials from this issuer. Only credentials defined here will be returned—no inherited credentials, unlike CredentialsProvider.lookupStores(hudson.model.ModelObject) or CredentialsProvider.lookupCredentials(Class, ItemGroup, org.acegisecurity.Authentication, List).
        Returns:
        a possibly empty set of credentials
      • url

        public final String url()
        Absolute URL of issuer.
        Returns:
        e.g. https://jenkins/oidc/path/subpath
      • checkExtendedReadPermission

        protected abstract void checkExtendedReadPermission()
                                                     throws org.springframework.security.access.AccessDeniedException
        Check permision on the context() to enumerate credentials and get their metadata.
        Throws:
        org.springframework.security.access.AccessDeniedException