com.sun.xml.ws.rm
Enum ReliableMessagingFeature.SecurityBinding

java.lang.Object
  extended by java.lang.Enum<ReliableMessagingFeature.SecurityBinding>
      extended by com.sun.xml.ws.rm.ReliableMessagingFeature.SecurityBinding
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ReliableMessagingFeature.SecurityBinding>
Enclosing class:
ReliableMessagingFeature

public static enum ReliableMessagingFeature.SecurityBinding
extends java.lang.Enum<ReliableMessagingFeature.SecurityBinding>

This enumeration defines possible security binding mechanism options that can be applied to a created sequence.

See Also:
NONE, STR, TRANSPORT

Enum Constant Summary
NONE
          There are no security binding requirements specified for the message.
STR
          An RM Sequence MUST be bound to an explicit token that is referenced from a wsse:SecurityTokenReference in the CreateSequence message.
TRANSPORT
           An RM Sequence MUST be bound to the session(s) of the underlying transport-level security protocol (e.g.
 
Method Summary
static ReliableMessagingFeature.SecurityBinding getDefault()
          Provides a default security binding value.
static ReliableMessagingFeature.SecurityBinding valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ReliableMessagingFeature.SecurityBinding[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STR

public static final ReliableMessagingFeature.SecurityBinding STR
An RM Sequence MUST be bound to an explicit token that is referenced from a wsse:SecurityTokenReference in the CreateSequence message.

See Also:
ReliableMessagingFeature.SecurityBinding

TRANSPORT

public static final ReliableMessagingFeature.SecurityBinding TRANSPORT

An RM Sequence MUST be bound to the session(s) of the underlying transport-level security protocol (e.g. SSL/TLS) used to carry the CreateSequence and CreateSequenceResponse messages.

The assertion specifying this requirement MUST be used in conjunction with the sp:TransportBinding assertion that requires the use of some transport-level security mechanism (e.g. sp:HttpsToken)."

See Also:
ReliableMessagingFeature.SecurityBinding

NONE

public static final ReliableMessagingFeature.SecurityBinding NONE
There are no security binding requirements specified for the message.

See Also:
ReliableMessagingFeature.SecurityBinding
Method Detail

values

public static final ReliableMessagingFeature.SecurityBinding[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ReliableMessagingFeature.SecurityBinding c : ReliableMessagingFeature.SecurityBinding.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ReliableMessagingFeature.SecurityBinding valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getDefault

public static ReliableMessagingFeature.SecurityBinding getDefault()
Provides a default security binding value.

Returns:
a default security binding value. Currently returns NONE.
See Also:
ReliableMessagingFeature.SecurityBinding