electric.soap.security.references
Class SecuritySOAPReference

java.lang.Object
  extended byelectric.soap.references.chain.ChainedSOAPReference
      extended byelectric.soap.security.references.SecuritySOAPReference
All Implemented Interfaces:
IChainedSOAPReference, IEXMLLoggingConstants, IGLUEContextConstants, IGLUELoggingConstants, ILoggingConstants, ISOAPHandler, ISOAPReference, IWSSConstants, IXMLConstants

public class SecuritySOAPReference
extends ChainedSOAPReference
implements IWSSConstants, IXMLConstants, IGLUEContextConstants, IGLUELoggingConstants

SecuritySOAPReference annotates outgoing soap requests with WS-Security information, then verifies the WS-Security information on incoming responses.

Author:
webmethods
See Also:
SecurityHandler

Field Summary
 
Fields inherited from class electric.soap.references.chain.ChainedSOAPReference
nextReference
 
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.xml.IXMLConstants
ATTLIST_START, ATTLIST_STOP, CDATA, CDATA_START, CDATA_STOP, CLOSE_TAG, COLON, COMMENT_START, COMMENT_STOP, DOCTYPE_START, DOCTYPE_STOP, ELEMENTDECL_START, ELEMENTDECL_STOP, ENCODING, ENTITYDECL_START, ENTITYDECL_STOP, ID, ID_CASE, INSTRUCTION_START, INSTRUCTION_STOP, NEGATIVE_INFINITY, NOT_A_NUMBER, NOTATIONDECL_START, NOTATIONDECL_STOP, NULL, OPEN_TAG, POSITIVE_INFINITY, PUBLIC, SPECIALS, STANDALONE, SUBSTITUTES, SYSTEM, UNDEFINED, VERSION, XML, XML_NAMESPACE, XMLDECL_START, XMLDECL_STOP, XMLNS, XMLNS_NAMESPACE
 
Fields inherited from interface electric.glue.IGLUEContextConstants
ACTIVATION, APPLICATION, ATTACHMENT_STYLE, AUTH_METHOD, AUTH_PASSWORD, AUTH_SESSION_STATE, AUTH_USER, AUTHENTICATE, CLASS_LOADERS, CLASS_NAME, CLIENT_ID, CLIENT_SOCKET_READ_TIMEOUT, CONSTRUCTOR, CONTENT_TYPE, COOKIE_LISTENER, DATA_DIRECTORY, DATA_HANDLER, DATABASE, DATABASE_PERSISTENCE, DELETE, DESCRIPTION, DIME, DOC_BASE, DOCUMENT, DYNAMIC_OPERATIONS, ENCODED, ENDPOINT, FACTORY, FOLLOW_REDIRECTS, FORCE_ATTACHMENT_STYLE, FORWARD_INTERMEDIARY, GUARD, HTTP_REGISTRY_ROOT, HTTP_REQUEST, HTTP_RESPONSE, HTTP_SERVLET_CONFIG, INBOUND_SOAP_REQUEST_INTERCEPTOR, INBOUND_SOAP_RESPONSE_INTERCEPTOR, INSTRUMENTATION_LISTENER, INSTRUMENTOR, INTERFACE, INVOCATION_LISTENER, JNDI_PROPERTIES, KEEP_ALIVE, LAZY, LITERAL, LOCAL_ADDRESS, MESSAGE_NAME, METHOD, MIME, NAMESPACE, NET_EVENT_REAPER_CYCLE, NET_EVENT_REAPER_EXPIRY_PERIOD, NET_EVENT_RETRY_PERIOD, OUTBOUND_SOAP_REQUEST_INTERCEPTOR, OUTBOUND_SOAP_RESPONSE_INTERCEPTOR, PERSISTENCE_TYPE, PRIORITY, PROXY_HOST, PROXY_PASSWORD, PROXY_PORT, PROXY_USER, PUBLISH, QUERY_STRING, REALM, REGISTRY_ROOT, RESPONSE_UNREFED_ATTACHMENTS, RETURN_NAME, ROLE, RP_NAMESPACE, RPC, SERVICE, SERVICE_CONTEXT, SERVLET_NAME, SERVLET_PATH, SIGNATURE, SMART_CONNECTIONS, SOAP_ACTION, SOAP_ENCODING_STYLE, SOAP_PERSONALITY, SOAP_REQUEST, SOAP_VERSION, SSL_KEY_MANAGER, SSL_TRUST_MANAGER, STYLE, TARGET_NAMESPACE, TRANSACTION, TRANSPORT_SOURCE, UNREFED_ATTACHMENTS, USE, WSDL_NAME, WSDL_PERSONALITY, WSS_CONTEXT, XML_ENCODING, XML_INCLUDE, XML_PERSISTENCE
 
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
SecuritySOAPReference(Context proxyContext)
           
 
Method Summary
 XURL getEndpoint()
           
 WSDL getWSDL()
           
 SOAPMessage handle(SOAPMessage request, Context messageContext)
          Process an outgoing client-side soap message according to the WS-Security spec.
 SOAPMessage handleSecurity(SOAPMessage request, WSSContext wss, Context messageContext)
           
 
Methods inherited from class electric.soap.references.chain.ChainedSOAPReference
getNextReference, setNextReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuritySOAPReference

public SecuritySOAPReference(Context proxyContext)
Method Detail

handle

public SOAPMessage handle(SOAPMessage request,
                          Context messageContext)
                   throws java.rmi.RemoteException,
                          java.lang.SecurityException
Process an outgoing client-side soap message according to the WS-Security spec. This code should corresponds closely with that in the server-side SecurityHandler class.

Specified by:
handle in interface ISOAPHandler
Parameters:
request -
messageContext -
Returns:
the response message.
Throws:
java.rmi.RemoteException
java.lang.SecurityException
See Also:
SecurityHandler

handleSecurity

public SOAPMessage handleSecurity(SOAPMessage request,
                                  WSSContext wss,
                                  Context messageContext)
Parameters:
request -
wss -
messageContext -
Returns:
response message.

getWSDL

public WSDL getWSDL()
Specified by:
getWSDL in interface ISOAPReference
Returns:
the wsdl associated with this reference.

getEndpoint

public XURL getEndpoint()
Specified by:
getEndpoint in interface ISOAPReference
Returns:
the endpoint associated with this reference.


copyright© 2001-2004 by webMethods All Rights Reserved.