/** * Constructor. * * @param map Artifact to SAML map * * @deprecated */ public HTTPSOAP11Decoder(SAMLArtifactMap map) { super(map); understoodHeaders = new LazyList<QName>(); }
/** * Constructor. * * @param namespaceURI the namespace the element is in * @param elementLocalName the local name of the XML element this Object represents * @param namespacePrefix the prefix for the given namespace */ protected AbstractValidatingSignableXMLObject(String namespaceURI, String elementLocalName, String namespacePrefix) { super(namespaceURI, elementLocalName, namespacePrefix); validators = new LazyList<Validator>(); }
/** Constructor. */ public HTTPSOAP11Decoder() { super(); understoodHeaders = new LazyList<QName>(); }
/** * Constructor. * * @param pool parser pool used to deserialize messages */ public HTTPSOAP11Decoder(ParserPool pool) { super(pool); understoodHeaders = new LazyList<QName>(); }
/** * Constructor. * * @param namespaceURI the namespace the element is in * @param elementLocalName the local name of the XML element this Object represents * @param namespacePrefix the prefix for the given namespace */ protected AbstractValidatingXMLObject(String namespaceURI, String elementLocalName, String namespacePrefix) { super(namespaceURI, elementLocalName, namespacePrefix); validators = new LazyList<Validator>(); }
/** {@inheritDoc} */ public List<XMLObject> getOrderedChildren() { return new LazyList<XMLObject>(); }
/** {@inheritDoc} */ public List<XMLObject> getOrderedChildren() { return new LazyList<XMLObject>(); }
/** * Constructor. * * @param namespaceURI the namespace the element is in * @param elementLocalName the local name of the XML element this Object represents * @param namespacePrefix the prefix for the given namespace */ protected AbstractValidatingXMLObject(String namespaceURI, String elementLocalName, String namespacePrefix) { super(namespaceURI, elementLocalName, namespacePrefix); validators = new LazyList<Validator>(); }
/** Constructor. */ public HTTPSOAP11Decoder() { super(); understoodHeaders = new LazyList<QName>(); }
/** * Constructor. * * @param pool parser pool used to deserialize messages */ public HTTPSOAP11Decoder(ParserPool pool) { super(pool); understoodHeaders = new LazyList<QName>(); }
/** * Constructor. * * @param map used to map artifacts to SAML * @param pool parser pool used to deserialize messages * * @deprecated */ public HTTPSOAP11Decoder(SAMLArtifactMap map, ParserPool pool) { super(map, pool); understoodHeaders = new LazyList<QName>(); }
/** * Constructor. * * @param newHandlerChain the static handler chain returned by this resolver */ public StaticHandlerChainResolver(HandlerChain newHandlerChain) { handlerChains = new LazyList<HandlerChain>(); if(newHandlerChain != null){ handlerChains.add(newHandlerChain); } }
/** * Constructor. * * @param policies the static list of policies returned by this resolver */ public StaticSecurityPolicyResolver(List<SecurityPolicy> policies) { securityPolicies = new LazyList<SecurityPolicy>(); if(policies != null){ securityPolicies.addAll(policies); } }
/** * Constructor. * * @param policy the static policy returned by this resolver */ public StaticSecurityPolicyResolver(SecurityPolicy policy) { securityPolicies = new LazyList<SecurityPolicy>(); if(policy != null){ securityPolicies.add(policy); } }
/** * Constructor. * * @param newHandlerChains the static list of handler chains returned by this resolver */ public StaticHandlerChainResolver(List<HandlerChain> newHandlerChains) { handlerChains = new LazyList<HandlerChain>(); if(newHandlerChains != null){ handlerChains.addAll(newHandlerChains); } }
/** * Check for the existence of an index for the specified QName and create it * if it doesn't exist. * * @param index the index to check */ protected void checkAndCreateIndex(QName index) { if (!objectIndex.containsKey(index)) { objectIndex.put(index, new LazyList<ElementType>()); } }
/** * Check for the existence of an index for the specified QName and create it * if it doesn't exist. * * @param index the index to check */ protected void checkAndCreateIndex(QName index) { if (!objectIndex.containsKey(index)) { objectIndex.put(index, new LazyList<ElementType>()); } }
/** {@inheritDoc} */ public List<XMLObject> getOrderedChildren() { LazyList<XMLObject> children = new LazyList<XMLObject>(); if (encryptedData != null) { children.add(encryptedData); } return Collections.unmodifiableList(children); }
/** Constructor. */ public BasicPhasedHandlerChain() { super(); phaseOrder = new LazyList<String>(); phaseChains = new LazyMap<String, HandlerChain>(); }
/** {@inheritDoc} */ public void clear() { // Create a copy of the current list to avoid a potential concurrent modification error. LazyList<ElementType> copy = new LazyList<ElementType>(); copy.addAll(indexList); backingList.removeAll(copy); indexList = backingList.get(index); }