Interface RootUrlProvider


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

    Modifier and Type
    Method
    Description
    getRootURL(String realm, javax.servlet.http.HttpServletRequest request)
    Gets the AM instance root url, with the context path included.
  • Method Details

    • getRootURL

      String getRootURL(String realm, javax.servlet.http.HttpServletRequest request) throws com.sun.identity.saml2.common.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:
      com.sun.identity.saml2.common.SAML2Exception - on failing to lookup the realm.