AuthConstraint
This type is a class for model objects.
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.
Package: webapplication
Classifier ID: -1
Instance class name: * Unspecified *
Instance class: * Unspecified *
Reference attributes having this type:
SecurityConstraint.authConstraint
Attributes Summary description : EString @version J2EE1.4 deprecated, becomes descriptions A description of the auth constraint. roles : EString A list of role names for the auth constraint. Each element specifies the name of a security role (a String). secConstraint : SecurityConstraint @ * No description is available * descriptions : Description * @version J2EE1.4
Attribute Details
description - @version J2EE1.4 deprecated, becomes descriptions A description of the auth constraint.
Data Type: EString
Default value: unspecified
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: false
Volatile: false
roles - A list of role names for the auth constraint. Each element specifies the name of a security role (a String).
Data Type: EString
Default value: unspecified
Required: false
Changeable: true
Unsettable: false
Many: true
Ordered: true
Lower bound: 0
Upper bound: Unbounded
Unique: true
Derived: false
Transient: false
Volatile: false
secConstraint - * No description is available *
Reference Type: SecurityConstraint @
Containment: false
Container: true
Required: false
Changeable: true
Unsettable: false
Many: false
Ordered: true
Lower bound: 0
Upper bound: 1
Unique: true
Derived: false
Transient: true
Volatile: false
Opposite: SecurityConstraint.authConstraint
descriptions - @version J2EE1.4
Reference Type: Description *
Containment: true
Container: false
Required: false
Changeable: true
Unsettable: false
Many: true
Ordered: true
Lower bound: 0
Upper bound: Unbounded
Unique: true
Derived: false
Transient: false
Volatile: false
(C) COPYRIGHT International Business Machines Corp. 1996-2006