electric.soap.security.encryption
Class WSSReferenceListHandler

java.lang.Object
  extended byelectric.soap.security.encryption.WSSReferenceListHandler
All Implemented Interfaces:
IEXMLLoggingConstants, IGLUELoggingConstants, ILoggingConstants, IWSSConstants, IXMLEncryptionConstants

public class WSSReferenceListHandler
extends java.lang.Object
implements IWSSConstants, IXMLEncryptionConstants, IGLUELoggingConstants

ReferenceListHandler is responsible for handling the case where the WS-Security <Security> SOAP Header contains a ReferenceList. WS-Security adds new usgages for ReferenceList beyond what is defined in XML-Encryption, and the extended WS-Security version is implemented here.

Envelope/Header/Security/ReferenceList

Author:
webmethods

Field Summary
 
Fields inherited from interface electric.soap.security.IWSSConstants
PASSWORD_DIGEST, PASSWORD_TEXT, SECURITY, SECURITY_TOKEN_REFERENCE, URI_ATTRIBUTE, WSSE_NAMESPACE, WSSE_PREFIX, WSU_NAMESPACE, WSU_PREFIX, X509_ENCODING_TYPE
 
Fields inherited from interface electric.soap.security.encryption.xml.IXMLEncryptionConstants
CIPHER_DATA_ELEMENT, CIPHER_VALUE_ELEMENT, ENCRYPTED_DATA_ELEMENT, ENCRYPTION_ALGORITHM_ATTRIBUTE, ENCRYPTION_METHOD_ELEMENT, KEY_INFO_ELEMENT, KEY_NAME_ELEMENT, XENC_NAMESPACE, XENC_PREFIX
 
Fields inherited from interface electric.glue.IGLUELoggingConstants
CLUSTER_DEBUG_EVENT, CLUSTER_EVENT, CONSOLE_DEBUG_EVENT, DEPLOY_EVENT, DETECTORS_EVENT, HTTP_EVENT, JMS_EVENT, REBINDING_EVENT, SECURITY_DEBUG_EVENT, SECURITY_DETAIL_EVENT, SERVLET_EVENT, SOAP_EVENT
 
Fields inherited from interface electric.xml.IEXMLLoggingConstants
MAPPING_EVENT, SCHEMA_EVENT
 
Fields inherited from interface electric.util.log.ILoggingConstants
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT
 
Constructor Summary
WSSReferenceListHandler()
           
 
Method Summary
 WSSEncryption handle(Element envelope, Element securityElement, IRealm realm)
          Implements section 4.6.1 of the WS-Security specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSSReferenceListHandler

public WSSReferenceListHandler()
Method Detail

handle

public WSSEncryption handle(Element envelope,
                            Element securityElement,
                            IRealm realm)
Implements section 4.6.1 of the WS-Security specification. <ReferenceList> "When encrypting elements or element contents within a SOAP envelope, the element from XML Encryption MAY be used to create a manifest of encrypted portion(s), which are expressed as elements within the envelope. Return true if the encrypted data was decrypted and substituted into the message, and the encryption should be added to the list of encryption.

Envelope/Header/Security/ReferenceList/DataReference

Parameters:
envelope -
securityElement -
realm -
Returns:
true if the reference list was handled, false if there was any problem.


copyright© 2001-2004 by webMethods All Rights Reserved.