org.jboss.wsf.spi.annotation
Class TransportGuarantee

java.lang.Object
  extended by org.jboss.wsf.spi.annotation.TransportGuarantee

public final class TransportGuarantee
extends java.lang.Object

The transportGuarantee specifies that the communication between client and server should be NONE, INTEGRAL, or CONFIDENTIAL. NONE means that the application does not require any transport guarantees. A value of INTEGRAL means that the application requires that the data sent between the client and server be sent in such a way that it can't be changed in transit. CONFIDENTIAL means that the application requires that the data be transmitted in a fashion that prevents other entities from observing the contents of the transmission. In most cases, the presence of the INTEGRAL or CONFIDENTIAL flag will indicate that the use of SSL is required.

Author:
ropalka@redhat.com

Field Summary
static java.lang.String CONFIDENTIAL
          Application requires that the data be transmitted in a fashion that prevents other entities from observing the contents of the transmission.
static java.lang.String INTEGRAL
          Application requires that the data sent between the client and server be sent in such a way that it can't be changed in transit.
static java.lang.String NONE
          Application does not require any transport guarantees.
 
Method Summary
static java.lang.String valueOf(java.lang.String s)
          Returns string representing correct transport guarantee value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final java.lang.String NONE
Application does not require any transport guarantees.

See Also:
Constant Field Values

INTEGRAL

public static final java.lang.String INTEGRAL
Application requires that the data sent between the client and server be sent in such a way that it can't be changed in transit.

See Also:
Constant Field Values

CONFIDENTIAL

public static final java.lang.String CONFIDENTIAL
Application requires that the data be transmitted in a fashion that prevents other entities from observing the contents of the transmission.

See Also:
Constant Field Values
Method Detail

valueOf

public static java.lang.String valueOf(java.lang.String s)
Returns string representing correct transport guarantee value.

Parameters:
s - string to convert, both lowercased and uppercased values are accepted
Returns:
correct transport guarantee value
Throws:
java.lang.IllegalArgumentException - if s is null or it contains unknown value.


Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.