|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.http.webxml.schema.version_2_4.SecurityConstraintType
public class SecurityConstraintType
The security-constraintType is used to associate security constraints with one or more web resource collections Used in: web-app
Java class for security-constraintType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="security-constraintType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="display-name" type="{http://java.sun.com/xml/ns/j2ee}display-nameType" maxOccurs="unbounded" minOccurs="0"/> <element name="web-resource-collection" type="{http://java.sun.com/xml/ns/j2ee}web-resource-collectionType" maxOccurs="unbounded"/> <element name="auth-constraint" type="{http://java.sun.com/xml/ns/j2ee}auth-constraintType" minOccurs="0"/> <element name="user-data-constraint" type="{http://java.sun.com/xml/ns/j2ee}user-data-constraintType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected AuthConstraintType |
authConstraint
|
protected List<DisplayNameType> |
displayName
|
protected String |
id
|
protected UserDataConstraintType |
userDataConstraint
|
protected List<WebResourceCollectionType> |
webResourceCollection
|
Constructor Summary | |
---|---|
SecurityConstraintType()
|
Method Summary | |
---|---|
AuthConstraintType |
getAuthConstraint()
Gets the value of the authConstraint property. |
List<DisplayNameType> |
getDisplayName()
Gets the value of the displayName property. |
String |
getId()
Gets the value of the id property. |
UserDataConstraintType |
getUserDataConstraint()
Gets the value of the userDataConstraint property. |
List<WebResourceCollectionType> |
getWebResourceCollection()
Gets the value of the webResourceCollection property. |
void |
setAuthConstraint(AuthConstraintType value)
Sets the value of the authConstraint property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setUserDataConstraint(UserDataConstraintType value)
Sets the value of the userDataConstraint property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<DisplayNameType> displayName
protected List<WebResourceCollectionType> webResourceCollection
protected AuthConstraintType authConstraint
protected UserDataConstraintType userDataConstraint
protected String id
Constructor Detail |
---|
public SecurityConstraintType()
Method Detail |
---|
public List<DisplayNameType> getDisplayName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
DisplayNameType
public List<WebResourceCollectionType> getWebResourceCollection()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the webResourceCollection property.
For example, to add a new item, do as follows:
getWebResourceCollection().add(newItem);
Objects of the following type(s) are allowed in the list
WebResourceCollectionType
public AuthConstraintType getAuthConstraint()
AuthConstraintType
public void setAuthConstraint(AuthConstraintType value)
value
- allowed object is
AuthConstraintType
public UserDataConstraintType getUserDataConstraint()
UserDataConstraintType
public void setUserDataConstraint(UserDataConstraintType value)
value
- allowed object is
UserDataConstraintType
public String getId()
String
public void setId(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |