com.sun.enterprise.deployment
Class UserDataConstraintImpl

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.UserDataConstraintImpl
All Implemented Interfaces:
UserDataConstraint, java.io.Serializable

public class UserDataConstraintImpl
extends Descriptor
implements UserDataConstraint

I represent the information about how the web application's data should be protected.

Author:
Danny Coward
See Also:
Serialized Form

Field Summary
static java.lang.String TRANSPORT_GUARANTEE_CLEAR
          JACC Specific
static java.lang.String TRANSPORT_GUARANTEE_CONFIDENTIAL
          HTTPS
static java.lang.String TRANSPORT_GUARANTEE_INTEGRAL
          HTTP.
static java.lang.String TRANSPORT_GUARANTEE_NONE
          The transport is unspecified.
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Fields inherited from interface com.sun.enterprise.deployment.web.UserDataConstraint
CLEAR, CONFIDENTIAL_TRANSPORT, INTEGRAL_TRANSPORT, NONE_TRANSPORT
 
Constructor Summary
UserDataConstraintImpl()
           
 
Method Summary
 java.lang.String getTransportGuarantee()
          Return my transport type.
static java.lang.String[] getTransportGuaranteeChoices()
          Return a String array of my static transport types.
 java.lang.String[] getUnacceptableTransportGuarantees()
           
 void print(java.lang.StringBuffer toStringBuffer)
          Returns a formatted String of my state.
 void setTransportGuarantee(java.lang.String transportGuarantee)
          Sets my transport type to the given value.
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
 
Methods inherited from class com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.enterprise.deployment.web.UserDataConstraint
getDescription, setDescription
 

Field Detail

TRANSPORT_GUARANTEE_NONE

public static final java.lang.String TRANSPORT_GUARANTEE_NONE
The transport is unspecified.

See Also:
Constant Field Values

TRANSPORT_GUARANTEE_INTEGRAL

public static final java.lang.String TRANSPORT_GUARANTEE_INTEGRAL
HTTP.

See Also:
Constant Field Values

TRANSPORT_GUARANTEE_CONFIDENTIAL

public static final java.lang.String TRANSPORT_GUARANTEE_CONFIDENTIAL
HTTPS

See Also:
Constant Field Values

TRANSPORT_GUARANTEE_CLEAR

public static final java.lang.String TRANSPORT_GUARANTEE_CLEAR
JACC Specific

See Also:
Constant Field Values
Constructor Detail

UserDataConstraintImpl

public UserDataConstraintImpl()
Method Detail

getTransportGuaranteeChoices

public static final java.lang.String[] getTransportGuaranteeChoices()
Return a String array of my static transport types.


getTransportGuarantee

public java.lang.String getTransportGuarantee()
Return my transport type.

Specified by:
getTransportGuarantee in interface UserDataConstraint

getUnacceptableTransportGuarantees

public java.lang.String[] getUnacceptableTransportGuarantees()
Specified by:
getUnacceptableTransportGuarantees in interface UserDataConstraint

setTransportGuarantee

public void setTransportGuarantee(java.lang.String transportGuarantee)
Sets my transport type to the given value. Throws an illegal argument exception if the value is not allowed.

Specified by:
setTransportGuarantee in interface UserDataConstraint

print

public void print(java.lang.StringBuffer toStringBuffer)
Returns a formatted String of my state.

Overrides:
print in class Descriptor


Copyright © 2012 GlassFish Community. All Rights Reserved.