Class SAMLMessageReceivedEndpointContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
org.opensaml.saml.common.messaging.context.SAMLMessageReceivedEndpointContext
- All Implemented Interfaces:
Iterable<BaseContext>
A context intended to be used as a subcontext of a
MessageContext that carries
some basic information about the SAML message.
This context is generally used to hold information about the endpoint at which a SAML message was received. In particular it is useful when the SAML message is being processed during a different HTTP request than the one in which it was actually received.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator, BaseContext.DeprecatedContextClassNameLookAside -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the request URL.(package private) voidsetRequestURL(String url) Set the request URL.Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, ensureSubcontext, ensureSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeFromParent, removeSubcontext, removeSubcontext, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
requestURL
The request URL.
-
-
Constructor Details
-
SAMLMessageReceivedEndpointContext
public SAMLMessageReceivedEndpointContext()Constructor. -
SAMLMessageReceivedEndpointContext
Constructor.This is a convenient copy constructor for info from
HttpServletRequest. The constructor does NOT store a reference to the request, it merely copies relevant information to the properties of this class.- Parameters:
request- the HTTP request
-
-
Method Details
-
getRequestURL
Get the request URL.- Returns:
- the request URL
-
setRequestURL
Set the request URL.- Parameters:
url- the request URL
-