
public interface SecurityConstraintType<T> extends Child<T>, JavaeeSecurityConstraintCommonType<T,SecurityConstraintType<T>,WebResourceCollectionType<SecurityConstraintType<T>>,AuthConstraintType<SecurityConstraintType<T>>,UserDataConstraintType<SecurityConstraintType<T>>>
security-constraintType xsd type| Modifier and Type | Method and Description |
|---|---|
WebResourceCollectionType<SecurityConstraintType<T>> |
createWebResourceCollection()
Creates a new
web-resource-collection element |
SecurityConstraintType<T> |
displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
List<String> |
getAllDisplayName()
Returns all
display-name elements |
List<WebResourceCollectionType<SecurityConstraintType<T>>> |
getAllWebResourceCollection()
Returns all
web-resource-collection elements |
String |
getId()
Returns the
id attribute |
AuthConstraintType<SecurityConstraintType<T>> |
getOrCreateAuthConstraint()
If not already created, a new
auth-constraint element with the given value will be created. |
UserDataConstraintType<SecurityConstraintType<T>> |
getOrCreateUserDataConstraint()
If not already created, a new
user-data-constraint element with the given value will be created. |
WebResourceCollectionType<SecurityConstraintType<T>> |
getOrCreateWebResourceCollection()
If not already created, a new
web-resource-collection element will be created and returned. |
SecurityConstraintType<T> |
id(String id)
Sets the
id attribute |
SecurityConstraintType<T> |
removeAllDisplayName()
Removes the
display-name element |
SecurityConstraintType<T> |
removeAllWebResourceCollection()
Removes all
web-resource-collection elements |
SecurityConstraintType<T> |
removeAuthConstraint()
Removes the
auth-constraint element |
SecurityConstraintType<T> |
removeId()
Removes the
id attribute |
SecurityConstraintType<T> |
removeUserDataConstraint()
Removes the
user-data-constraint element |
SecurityConstraintType<T> displayName(String... values)
display-name elements,
a new display-name elementvalues - list of display-name objectsSecurityConstraintTypeList<String> getAllDisplayName()
display-name elementsdisplay-nameSecurityConstraintType<T> removeAllDisplayName()
display-name elementSecurityConstraintTypeWebResourceCollectionType<SecurityConstraintType<T>> getOrCreateWebResourceCollection()
web-resource-collection element will be created and returned.
Otherwise, the first existing web-resource-collection element will be returned.web-resource-collectionWebResourceCollectionType<SecurityConstraintType<T>> createWebResourceCollection()
web-resource-collection elementWebResourceCollectionType> List<WebResourceCollectionType<SecurityConstraintType<T>>> getAllWebResourceCollection()
web-resource-collection elementsweb-resource-collectionSecurityConstraintType<T> removeAllWebResourceCollection()
web-resource-collection elementsWebResourceCollectionType> AuthConstraintType<SecurityConstraintType<T>> getOrCreateAuthConstraint()
auth-constraint element with the given value will be created.
Otherwise, the existing auth-constraint element will be returned.AuthConstraintType> SecurityConstraintType<T> removeAuthConstraint()
auth-constraint elementSecurityConstraintTypeUserDataConstraintType<SecurityConstraintType<T>> getOrCreateUserDataConstraint()
user-data-constraint element with the given value will be created.
Otherwise, the existing user-data-constraint element will be returned.UserDataConstraintType> SecurityConstraintType<T> removeUserDataConstraint()
user-data-constraint elementSecurityConstraintTypeSecurityConstraintType<T> id(String id)
id attributeid - the value for the attribute idSecurityConstraintTypeString getId()
id attributeidSecurityConstraintType<T> removeId()
id attributeSecurityConstraintTypeCopyright © 2025 JBoss by Red Hat. All rights reserved.