|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface 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/javaee}display-nameType" maxOccurs="unbounded" minOccurs="0"/>
<element name="web-resource-collection" type="{http://java.sun.com/xml/ns/javaee}web-resource-collectionType" maxOccurs="unbounded"/>
<element name="auth-constraint" type="{http://java.sun.com/xml/ns/javaee}auth-constraintType" minOccurs="0"/>
<element name="user-data-constraint" type="{http://java.sun.com/xml/ns/javaee}user-data-constraintType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| 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. |
| Method Detail |
|---|
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
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
AuthConstraintType getAuthConstraint()
AuthConstraintTypevoid setAuthConstraint(AuthConstraintType value)
value - allowed object is
AuthConstraintTypeUserDataConstraintType getUserDataConstraint()
UserDataConstraintTypevoid setUserDataConstraint(UserDataConstraintType value)
value - allowed object is
UserDataConstraintTypeString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||