Spring Security SAML

org.springframework.security.saml.parser
Class SAMLObject<T extends org.opensaml.xml.XMLObject>

java.lang.Object
  extended by org.springframework.security.saml.parser.SAMLBase<T,T>
      extended by 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

Field Summary
 
Fields inherited from class org.springframework.security.saml.parser.SAMLBase
log, object, serializedObject
 
Constructor Summary
SAMLObject(T object)
          Default constructor.
 
Method Summary
 T getObject()
           
 
Methods inherited from class org.springframework.security.saml.parser.SAMLBase
equals, hashCode, unmarshallMessage
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLObject

public SAMLObject(T object)
Default constructor.

Parameters:
object - object to wrap with serialization logic
Method Detail

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

Spring Security SAML