|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthConstraintType<T>
This interface defines the contract for the auth-constraintType
xsd type
Original Documentation:
The auth-constraintType indicates the user roles that
should be permitted access to this resource
collection. The role-name used here must either correspond
to the role-name of one of the security-role elements
defined for this web application, or be the specially
reserved role-name "*" that is a compact syntax for
indicating all roles in the web application. If both "*"
and rolenames appear, the container interprets this as all
roles. If no roles are defined, no user is allowed access
to the portion of the web application described by the
containing security-constraint. The container matches
role names case sensitively when determining access.
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<java.lang.String> |
getRoleNameList()
Returns all role-name elements |
AuthConstraintType<T> |
removeAllDescription()
Removes the description element |
AuthConstraintType<T> |
removeAllRoleName()
Removes the role-name element |
AuthConstraintType<T> |
setDescription(java.lang.String description)
Creates a new description element |
AuthConstraintType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
AuthConstraintType<T> |
setRoleName(java.lang.String roleName)
Creates a new role-name element |
AuthConstraintType<T> |
setRoleNameList(java.lang.String... values)
Creates for all String objects representing role-name elements,
a new role-name element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
AuthConstraintType<T> setDescription(java.lang.String description)
description
element
AuthConstraintType
AuthConstraintType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
AuthConstraintType
AuthConstraintType<T> removeAllDescription()
description
element
AuthConstraintType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
AuthConstraintType<T> setRoleName(java.lang.String roleName)
role-name
element
AuthConstraintType
AuthConstraintType<T> setRoleNameList(java.lang.String... values)
role-name
elements,
a new role-name
element
list
- of role-name
objects
AuthConstraintType
AuthConstraintType<T> removeAllRoleName()
role-name
element
AuthConstraintType
java.util.List<java.lang.String> getRoleNameList()
role-name
elements
role-name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |