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

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

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

Defines the enumeration of 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(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 are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
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 ReliableMessagingFeature.SecurityBinding[] values()
Returns an array containing the constants of this enum type, in the order they are 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 are declared

valueOf

public static ReliableMessagingFeature.SecurityBinding valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.