org.springframework.security.saml.parser
Class SAMLCollection<T extends org.opensaml.xml.XMLObject>
java.lang.Object
org.springframework.security.saml.parser.SAMLBase<T,List<T>>
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
SAMLCollection
public SAMLCollection(List<T> object)
- Default constructor.
- Parameters:
object
- list of objects to wrap with serialization logic
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