org.systinet.wasp.security.ws.conf
Interface SecuredMessage


public interface SecuredMessage

Represents configuration of outgoing WSSecurity message identified by one or more operation name. This interface is used by WSSEProviderConf to capture all possible outgoing messages with respect to operation names.
Operation name is the name of Java method. It can be expressed in following ways:

If there is no operation name specified, then it is supposed as default configuration used for methods without given configuration.

Since:
4.6
Component:
Security-Providers

Method Summary
 MessageConf getMessageConf()
          Returns WS-Security configuration for specified operations (getMethodNames().
 java.lang.String[] getMethodNames()
          Returns list of Java method names who share a MessageConf instance.
 MessageConf newMessageConf()
          Creates new instance of MessageConf usable for setMessageConf(org.systinet.wasp.security.ws.conf.MessageConf).
 void setMessageConf(MessageConf wsMessageConf)
          Sets WS-Security configuration for specified operations (getMethodNames().
 void setMethodNames(java.lang.String[] operationNames)
          It sets list of method names who share a MessageConf instance.
 

Method Detail

getMethodNames

public java.lang.String[] getMethodNames()
Returns list of Java method names who share a MessageConf instance. If list is empty then it represents all operation names (i.e., it is default configuration). Method name a name of the SOAP operation listed in the WSDL of the service.

Returns:
list of operation names

setMethodNames

public void setMethodNames(java.lang.String[] operationNames)
It sets list of method names who share a MessageConf instance. If list is empty then it represents all operation names (i.e., it is default configuration). Method name can be either Method.getName() value or fully qualified name as returned by javap.

Parameters:
operationNames - list of operation names

getMessageConf

public MessageConf getMessageConf()
Returns WS-Security configuration for specified operations (getMethodNames().

Returns:
MessageConf instance representing configuration.

setMessageConf

public void setMessageConf(MessageConf wsMessageConf)
Sets WS-Security configuration for specified operations (getMethodNames().

Parameters:
wsMessageConf - WS-Security configration

newMessageConf

public MessageConf newMessageConf()
Creates new instance of MessageConf usable for setMessageConf(org.systinet.wasp.security.ws.conf.MessageConf).

Returns:
instance of MessageConf