Package net.ltgt.oidc.servlet
Class Utils
java.lang.Object
net.ltgt.oidc.servlet.Utils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the servlet context attribute to register aHTTPRequestSenderto be used to send requests to the OpenID Provider.static final StringThe name of the form parameter to pass a page's path to return to after login or logout. -
Method Summary
-
Field Details
-
HTTP_REQUEST_SENDER_CONTEXT_ATTRIBUTE_NAME
The name of the servlet context attribute to register aHTTPRequestSenderto be used to send requests to the OpenID Provider. -
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
Returns the request's path and query-string, taking into account forwarded requests to return the origin request URI.
-