Spring Security SAML

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

java.lang.Object
  extended by org.springframework.security.saml.parser.SAMLBase<T,List<T>>
      extended by org.springframework.security.saml.parser.SAMLCollection<T>
All Implemented Interfaces:
Serializable

public class SAMLCollection<T extends org.opensaml.xml.XMLObject>
extends SAMLBase<T,List<T>>

SAMLCollection is a wrapper around a collection od XMLObject instances of OpenSAML library As some collections of XMLObjects are stored inside the HttpSession (which could be potentially sent to another cluster member), we need mechanism to enable serialization of these instances.

Author:
Mandus Elfving, Vladimir Schafer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.springframework.security.saml.parser.SAMLBase
log, object, serializedObject
 
Constructor Summary
SAMLCollection(List<T> object)
          Default constructor.
 
Method Summary
 List<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

SAMLCollection

public SAMLCollection(List<T> object)
Default constructor.

Parameters:
object - list of objects to wrap with serialization logic
Method Detail

getObject

public List<T> getObject()
Overrides:
getObject in class SAMLBase<T extends org.opensaml.xml.XMLObject,List<T extends org.opensaml.xml.XMLObject>>
Returns:
stored object in non-serialized format

Spring Security SAML