org.eclipse.jst.j2ee.webapplication
Interface AuthConstraint

All Superinterfaces:
J2EEEObject

public interface AuthConstraint
extends J2EEEObject

The auth-constraint element indicates the user roles that should be permitted access to this resource collection. The role used here must appear in a security-role-ref element.

Since:
1.0

Method Summary
 java.lang.String getDescription()
           
 EList getDescriptions()
          Returns the value of the 'Descriptions' containment reference list.
 EList getRoles()
           
 SecurityConstraint getSecConstraint()
           
 void setDescription(java.lang.String value)
           
 void setSecConstraint(SecurityConstraint value)
           
 

Method Detail

getDescription

public java.lang.String getDescription()
Returns:
The value of the Description attribute A description of the auth constraint.

setDescription

public void setDescription(java.lang.String value)
Parameters:
value - The new value of the Description attribute

getRoles

public EList getRoles()
Returns:
The value of the Roles attribute A list of role names for the auth constraint. Each element specifies the name of a security role (a String).

getSecConstraint

public SecurityConstraint getSecConstraint()
Returns:
The SecConstraint reference

setSecConstraint

public void setSecConstraint(SecurityConstraint value)
Parameters:
value - the new value of the SecConstraint reference

getDescriptions

public EList getDescriptions()
Returns the value of the 'Descriptions' containment reference list. The list contents are of type Description.

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

Returns:
the value of the 'Descriptions' containment reference list.
See Also:
WebapplicationPackage.getAuthConstraint_Descriptions()