org.springframework.security.saml.parser
Class SAMLObject<T extends org.opensaml.xml.XMLObject>
java.lang.Object
org.springframework.security.saml.parser.SAMLBase<T,T>
org.springframework.security.saml.parser.SAMLObject<T>
- Type Parameters:
T
- type of XMLObject
- All Implemented Interfaces:
- Serializable
public class SAMLObject<T extends org.opensaml.xml.XMLObject>
- extends SAMLBase<T,T>
SAMLObject is a wrapper around XMLObject instances of OpenSAML library As some XMLObjects are stored
inside the HttpSession (which could be potentially sent to another cluster members), we need
mechanism to enable serialization of these instances.
- Author:
- Vladimir Schafer
- See Also:
- Serialized Form
Constructor Summary |
SAMLObject(T object)
Default constructor. |
SAMLObject
public SAMLObject(T object)
- Default constructor.
- Parameters:
object
- object to wrap with serialization logic
getObject
public T getObject()
- Overrides:
getObject
in class SAMLBase<T extends org.opensaml.xml.XMLObject,T extends org.opensaml.xml.XMLObject>
- Returns:
- stored object in non-serialized format