public interface SecurityConstraintType<T> extends Child<T>
security-constraintType
xsd typeModifier 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 |
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> |
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> |
removeUserDataConstraint()
Removes the
user-data-constraint element |
SecurityConstraintType<T> displayName(String... values)
display-name
elements,
a new display-name
elementvalues
- list of display-name
objectsSecurityConstraintType
List<String> getAllDisplayName()
display-name
elementsdisplay-name
SecurityConstraintType<T> removeAllDisplayName()
display-name
elementSecurityConstraintType
WebResourceCollectionType<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-collection
WebResourceCollectionType<SecurityConstraintType<T>> createWebResourceCollection()
web-resource-collection
elementWebResourceCollectionType>
List<WebResourceCollectionType<SecurityConstraintType<T>>> getAllWebResourceCollection()
web-resource-collection
elementsweb-resource-collection
SecurityConstraintType<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
elementSecurityConstraintType
UserDataConstraintType<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
elementSecurityConstraintType
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.