org.apache.ws.security.processor
Class ReferenceListProcessor

java.lang.Object
  extended byorg.apache.ws.security.processor.ProcessorBase
      extended byorg.apache.ws.security.processor.ReferenceListProcessor
All Implemented Interfaces:
Processor

public class ReferenceListProcessor
extends org.apache.ws.security.processor.ProcessorBase


Constructor Summary
ReferenceListProcessor()
           
 
Method Summary
 void decryptDataRefEmbedded(org.w3c.dom.Document doc, java.lang.String dataRefURI, WSDataRef dataRef, javax.security.auth.callback.CallbackHandler cb, Crypto crypto)
           
 java.lang.String getId()
          Get the Id of the processoer.
 void handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wdi, java.util.Vector returnResults, WSSConfig wsc)
           
protected static java.util.List listChildren(org.w3c.dom.Node parent)
           
protected static java.util.List newNodes(java.util.List a, java.util.List b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceListProcessor

public ReferenceListProcessor()
Method Detail

handleToken

public void handleToken(org.w3c.dom.Element elem,
                        Crypto crypto,
                        Crypto decCrypto,
                        javax.security.auth.callback.CallbackHandler cb,
                        WSDocInfo wdi,
                        java.util.Vector returnResults,
                        WSSConfig wsc)
                 throws WSSecurityException
Throws:
WSSecurityException

decryptDataRefEmbedded

public void decryptDataRefEmbedded(org.w3c.dom.Document doc,
                                   java.lang.String dataRefURI,
                                   WSDataRef dataRef,
                                   javax.security.auth.callback.CallbackHandler cb,
                                   Crypto crypto)
                            throws WSSecurityException
Throws:
WSSecurityException

getId

public java.lang.String getId()
Description copied from interface: Processor
Get the Id of the processoer.

Returns:
The Id string

listChildren

protected static java.util.List listChildren(org.w3c.dom.Node parent)
Returns:
the list of children of the supplied parent node. This operation is guaranteed to return a non-null (though possibly empty) list.

newNodes

protected static java.util.List newNodes(java.util.List a,
                                         java.util.List b)
Returns:
a list of Nodes in b that are not in a (b - a)


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.