Class Utils

java.lang.Object
net.ltgt.oidc.servlet.Utils

public class Utils extends Object
  • Field Details

    • RETURN_TO_PARAMETER_NAME

      public static final String RETURN_TO_PARAMETER_NAME
      The name of the form parameter to pass a page's path to return to after login or logout.

      The target page should be given as an absolute path (possibly with a query string), though a full URL would be accepted as long as it's the same origin.

      See Also:
  • Method Details

    • getRequestUri

      public static String getRequestUri(HttpServletRequest req)
      Returns the request's path and query-string, taking into account forwarded requests to return the origin request URI.