Class SectorIDURIValidator


  • public class SectorIDURIValidator
    extends Object
    Sector identifier URI validator.

    Related specifications:

    • OpenID Connect Core 1.0, section 8.1.
    • OpenID Connect Dynamic Client Registration 1.0, section 5.
    • Constructor Detail

      • SectorIDURIValidator

        public SectorIDURIValidator​(com.nimbusds.jose.util.ResourceRetriever resourceRetriever)
        Creates a new sector identifier URI validator.
        Parameters:
        resourceRetriever - The URL resource retriever to use. Must not be null.
    • Method Detail

      • getResourceRetriever

        public com.nimbusds.jose.util.ResourceRetriever getResourceRetriever()
        Returns the URL resource retriever.
        Returns:
        The resource retriever.
      • validate

        public void validate​(URI sectorURI,
                             Set<URI> redirectURIs)
                      throws GeneralException
        Validates the specified sector identifier URI by ensuring it lists all specified redirection URIs.
        Parameters:
        sectorURI - The sector identifier URI. Must not be null.
        redirectURIs - The redirection URIs of the client. Must not be null.
        Throws:
        GeneralException - If validation failed.