org.osesb.connectors.jaxrpc.security
Class SecurityConstants

java.lang.Object
  extended by org.osesb.connectors.jaxrpc.security.SecurityConstants

public final class SecurityConstants
extends java.lang.Object

Constants for the org.osesb.connectors.jaxrpc.security package.

Since:
Version .9

Field Summary
static java.lang.String DEFAULT_WSSE_CLIENT_SECURITYHANDLER_CLASS
          For username-based WebServices security, JAXRPCDynamicClient determines the JAXRPCClientSecurityHandler class according the follwing ordered lookup:

The JAXRPCClientSecurityHandler, or descendant thereof, that is configured in the client handler chain of the JAXRPCClientConfiguration file. The JAXRPCClientSecurityHandler, or descendant thereof, that is identified by the WSSE_CLIENT_SECURITYHANDLER_SYSTEMPROPERTY System Property. The JAXRPCClientSecurityHandler, or descendant thereof, that is identified by DEFAULT_WSSE_CLIENT_SECURITYHANDLER_CLASS.

static java.lang.String DEFAULT_WSSE_SECURITYPROFILE_CLASS
          The JAXRPCClientSecurityHandler determines the Class WSSSecurityProfile according to the following ordered lookup:

The WSSSecurityProfile Class that is configured for a JAXRPCClientSecurityHandler handler using a <init-param> tag within the JAXRPCClientConfiguration that included the JAXRPCClientSecurityHandler using a <handler> tag. The WSSSecurityProfile Class that is identified by the WSSE_SECURITYPROFILE_SYSTEMPROPERTY System Property. The WSSSecurityProfile Class that is identified by DEFAULT_WSSE_SECURITYPROFILE_CLASS.

static java.lang.String WSSE_CLIENT_SECURITYHANDLER_SYSTEMPROPERTY
          For username-based WebServices security, JAXRPCDynamicClient determines the JAXRPCClientSecurityHandler class according the follwing ordered lookup:

The JAXRPCClientSecurityHandler, or descendant thereof, that is configured in the client handler chain of the JAXRPCClientConfiguration file. The JAXRPCClientSecurityHandler, or descendant thereof, that is identified by the WSSE_CLIENT_SECURITYHANDLER_SYSTEMPROPERTY System Property. The JAXRPCClientSecurityHandler, or descendant thereof, that is identified by DEFAULT_WSSE_CLIENT_SECURITYHANDLER_CLASS.

static java.lang.String WSSE_PASSWORD
          When the invokeService() method of JAXRPCDynamicClient is passed a password, it sets this property on the Call object using setProperty().
static java.lang.String WSSE_SECURITY_PROFILE_SOAPMESSAGECONTEXT
          The handleRequest() method of JAXRPCServerSecurityHandler populates a ThreadLocal variable for communicating the WSSSecurityProfile that was extracted from the SOAPHeader to the web service end point.
static java.lang.String WSSE_SECURITY_PROFILECLASS_INITPARM
          The name of the handler initialization parameter that identifies the WSSSecurityProfile Class that a security handler should use.
static java.lang.String WSSE_SECURITYPROFILE_SYSTEMPROPERTY
          The JAXRPCClientSecurityHandler determines the WSSSecurityProfile Class according to the following ordered lookup:

The WSSSecurityProfile Class that is configured for a JAXRPCClientSecurityHandler using an <init-param> tag with the name attribute set to SecurityConstants.WSSE_SECURITY_PROFILECLASS_INITPARM. The WSSSecurityProfile Class that is identified by the WSSE_SECURITYPROFILE_SYSTEMPROPERTY System Property. The WSSSecurityProfile Class that is identified by DEFAULT_WSSE_SECURITYPROFILE_CLASS.

static java.lang.String WSSE_USERNAME
          When the invokeService() method of JAXRPCDynamicClient is passed a username, it sets this property on the Call object using setProperty().
 
Constructor Summary
SecurityConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WSSE_CLIENT_SECURITYHANDLER_SYSTEMPROPERTY

public static final java.lang.String WSSE_CLIENT_SECURITYHANDLER_SYSTEMPROPERTY
For username-based WebServices security, JAXRPCDynamicClient determines the JAXRPCClientSecurityHandler class according the follwing ordered lookup:

  1. The JAXRPCClientSecurityHandler, or descendant thereof, that is configured in the client handler chain of the JAXRPCClientConfiguration file.
  2. The JAXRPCClientSecurityHandler, or descendant thereof, that is identified by the WSSE_CLIENT_SECURITYHANDLER_SYSTEMPROPERTY System Property.
  3. The JAXRPCClientSecurityHandler, or descendant thereof, that is identified by DEFAULT_WSSE_CLIENT_SECURITYHANDLER_CLASS.

See Also:
JAXRPCDynamicClient, Constant Field Values

DEFAULT_WSSE_CLIENT_SECURITYHANDLER_CLASS

public static final java.lang.String DEFAULT_WSSE_CLIENT_SECURITYHANDLER_CLASS
For username-based WebServices security, JAXRPCDynamicClient determines the JAXRPCClientSecurityHandler class according the follwing ordered lookup:

  1. The JAXRPCClientSecurityHandler, or descendant thereof, that is configured in the client handler chain of the JAXRPCClientConfiguration file.
  2. The JAXRPCClientSecurityHandler, or descendant thereof, that is identified by the WSSE_CLIENT_SECURITYHANDLER_SYSTEMPROPERTY System Property.
  3. The JAXRPCClientSecurityHandler, or descendant thereof, that is identified by DEFAULT_WSSE_CLIENT_SECURITYHANDLER_CLASS.

See Also:
JAXRPCDynamicClient

WSSE_SECURITYPROFILE_SYSTEMPROPERTY

public static final java.lang.String WSSE_SECURITYPROFILE_SYSTEMPROPERTY
The JAXRPCClientSecurityHandler determines the WSSSecurityProfile Class according to the following ordered lookup:

  1. The WSSSecurityProfile Class that is configured for a JAXRPCClientSecurityHandler using an <init-param> tag with the name attribute set to SecurityConstants.WSSE_SECURITY_PROFILECLASS_INITPARM.
  2. The WSSSecurityProfile Class that is identified by the WSSE_SECURITYPROFILE_SYSTEMPROPERTY System Property.
  3. The WSSSecurityProfile Class that is identified by DEFAULT_WSSE_SECURITYPROFILE_CLASS.

See Also:
Constant Field Values

DEFAULT_WSSE_SECURITYPROFILE_CLASS

public static final java.lang.String DEFAULT_WSSE_SECURITYPROFILE_CLASS
The JAXRPCClientSecurityHandler determines the Class WSSSecurityProfile according to the following ordered lookup:

  1. The WSSSecurityProfile Class that is configured for a JAXRPCClientSecurityHandler handler using a <init-param> tag within the JAXRPCClientConfiguration that included the JAXRPCClientSecurityHandler using a <handler> tag.
  2. The WSSSecurityProfile Class that is identified by the WSSE_SECURITYPROFILE_SYSTEMPROPERTY System Property.
  3. The WSSSecurityProfile Class that is identified by DEFAULT_WSSE_SECURITYPROFILE_CLASS.


WSSE_SECURITY_PROFILECLASS_INITPARM

public static final java.lang.String WSSE_SECURITY_PROFILECLASS_INITPARM
The name of the handler initialization parameter that identifies the WSSSecurityProfile Class that a security handler should use. Handler initialization parameters are configured using <init-param> tags within the <handler> tag of a JAXRPCClientConfiguration .

See Also:
Constant Field Values

WSSE_USERNAME

public static final java.lang.String WSSE_USERNAME
When the invokeService() method of JAXRPCDynamicClient is passed a username, it sets this property on the Call object using setProperty(). This property is passed to a security handler in the MessageContext by the SOAP engine.

See Also:
Constant Field Values

WSSE_PASSWORD

public static final java.lang.String WSSE_PASSWORD
When the invokeService() method of JAXRPCDynamicClient is passed a password, it sets this property on the Call object using setProperty(). This property is passed to a security handler in the MessageContext by the SOAP engine.

See Also:
Constant Field Values

WSSE_SECURITY_PROFILE_SOAPMESSAGECONTEXT

public static final java.lang.String WSSE_SECURITY_PROFILE_SOAPMESSAGECONTEXT
The handleRequest() method of JAXRPCServerSecurityHandler populates a ThreadLocal variable for communicating the WSSSecurityProfile that was extracted from the SOAPHeader to the web service end point. See JAXRPCServerSecurityHandler#getSecurityProfile().

Since getWSAddressing() can be invoked only once per handler chain invocation, the handleRequest() method of JAXRPCServerSecurityHandler populates this SOAPMessageContext property for communicating the WSSSecurityProfile that was extracted from the SOAPHeader to handlers in the server-side, request flow.

See Also:
Constant Field Values
Constructor Detail

SecurityConstants

public SecurityConstants()