|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.webcommon30.AuthConstraintTypeImpl<T>
public class AuthConstraintTypeImpl<T>
This class implements 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.
| Constructor Summary | |
|---|---|
AuthConstraintTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
AuthConstraintTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| 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 |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthConstraintTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public AuthConstraintTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public AuthConstraintType<T> setDescription(java.lang.String description)
description element
setDescription in interface AuthConstraintType<T>AuthConstraintTypepublic AuthConstraintType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface AuthConstraintType<T>list - of description objects
AuthConstraintTypepublic AuthConstraintType<T> removeAllDescription()
description element
removeAllDescription in interface AuthConstraintType<T>AuthConstraintTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface AuthConstraintType<T>descriptionpublic AuthConstraintType<T> setRoleName(java.lang.String roleName)
role-name element
setRoleName in interface AuthConstraintType<T>AuthConstraintTypepublic AuthConstraintType<T> setRoleNameList(java.lang.String... values)
role-name elements,
a new role-name element
setRoleNameList in interface AuthConstraintType<T>list - of role-name objects
AuthConstraintTypepublic AuthConstraintType<T> removeAllRoleName()
role-name element
removeAllRoleName in interface AuthConstraintType<T>AuthConstraintTypepublic java.util.List<java.lang.String> getRoleNameList()
role-name elements
getRoleNameList in interface AuthConstraintType<T>role-name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||