Interface IDPRequestValidator

  • All Known Implementing Classes:
    UtilProxyIDPRequestValidator

    public interface IDPRequestValidator
    Responsible for validating and providing a handful of parameters required for processing the IDP requests. Note: Currently all supporting classes have extensive static initialisation which is preventing this class from providing more immutability.
    • Method Detail

      • getMetaAlias

        String getMetaAlias​(jakarta.servlet.http.HttpServletRequest request)
                     throws ClientFaultException
        The meta alias is used to locate the provider's entity identifier and the organization in which it is located.
        Returns:
        A non null string closely resembling the entities realm.
        Throws:
        ClientFaultException - If the meta alias was not provided in the request or could not be parsed out of the request URI.
      • getRealmByMetaAlias

        String getRealmByMetaAlias​(String idpMetaAlias)
        Gets the realm for the entity from the IDP Meta Alias.
        Parameters:
        idpMetaAlias - the IDP Meta Alias
        Returns:
        the realm that the idp belongs to