Interface RootUrlProvider


  • public interface RootUrlProvider
    Interface used for getting a context's root url.
    • Method Detail

      • getRootURL

        String getRootURL​(String realm,
                          javax.servlet.http.HttpServletRequest request)
                   throws SAML2Exception
        Gets the AM instance root url, with the context path included.
        Parameters:
        realm - the realm.
        request - the HttpServletRequest request.
        Returns:
        the root url.
        Throws:
        SAML2Exception - on failing to lookup the realm.