Class UserDataConstraintImpl
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- org.glassfish.web.deployment.descriptor.UserDataConstraintImpl
-
- All Implemented Interfaces:
UserDataConstraint,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
Fields Modifier and Type Field Description static StringTRANSPORT_GUARANTEE_CLEARJACC Specificstatic StringTRANSPORT_GUARANTEE_CONFIDENTIALHTTPSstatic StringTRANSPORT_GUARANTEE_INTEGRALHTTP.static StringTRANSPORT_GUARANTEE_NONEThe transport is unspecified.-
Fields inherited from class org.glassfish.deployment.common.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
Constructors Constructor Description UserDataConstraintImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTransportGuarantee()Return my transport type.String[]getUnacceptableTransportGuarantees()voidprint(StringBuilder toStringBuilder)Returns a formatted String of my state.voidsetTransportGuarantee(String transportGuarantee)Sets my transport type to the given value.-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, 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 org.glassfish.deployment.common.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 String TRANSPORT_GUARANTEE_NONE
The transport is unspecified.- See Also:
- Constant Field Values
-
TRANSPORT_GUARANTEE_INTEGRAL
public static final String TRANSPORT_GUARANTEE_INTEGRAL
HTTP.- See Also:
- Constant Field Values
-
TRANSPORT_GUARANTEE_CONFIDENTIAL
public static final String TRANSPORT_GUARANTEE_CONFIDENTIAL
HTTPS- See Also:
- Constant Field Values
-
TRANSPORT_GUARANTEE_CLEAR
public static final String TRANSPORT_GUARANTEE_CLEAR
JACC Specific- See Also:
- Constant Field Values
-
-
Method Detail
-
getTransportGuarantee
public String getTransportGuarantee()
Return my transport type.- Specified by:
getTransportGuaranteein interfaceUserDataConstraint
-
getUnacceptableTransportGuarantees
public String[] getUnacceptableTransportGuarantees()
- Specified by:
getUnacceptableTransportGuaranteesin interfaceUserDataConstraint
-
setTransportGuarantee
public void setTransportGuarantee(String transportGuarantee)
Sets my transport type to the given value. Throws an illegal argument exception if the value is not allowed.- Specified by:
setTransportGuaranteein interfaceUserDataConstraint
-
print
public void print(StringBuilder toStringBuilder)
Returns a formatted String of my state.- Overrides:
printin classDescriptor
-
-