org.eclipse.modisco.jee.webapp.webapp30
Interface AuthConstraintType


public interface AuthConstraintType

A representation of the model object 'Auth Constraint Type'. 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.

The following features are supported:

See Also:
Webapp30Package.getAuthConstraintType()
Generated:
Model:
extendedMetaData="name='auth-constraintType' kind='elementOnly'"

Method Summary
  getDescription()
          Returns the value of the 'Description' containment reference list.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
  getRoleName()
          Returns the value of the 'Role Name' containment reference list.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 

Method Detail

getDescription

 getDescription()
Returns the value of the 'Description' containment reference list. The list contents are of type DescriptionType.

If the meaning of the 'Description' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Description' containment reference list.
See Also:
Webapp30Package.getAuthConstraintType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'"

getRoleName

 getRoleName()
Returns the value of the 'Role Name' containment reference list. The list contents are of type RoleNameType.

If the meaning of the 'Role Name' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Role Name' containment reference list.
See Also:
Webapp30Package.getAuthConstraintType_RoleName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='role-name' namespace='http://java.sun.com/xml/ns/javaee'"

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), Webapp30Package.getAuthConstraintType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: