Interface AuthorizationConstraint
-
- All Superinterfaces:
WebDescriptor
- All Known Implementing Classes:
AuthorizationConstraintImpl
public interface AuthorizationConstraint extends WebDescriptor
This is the descriptor for the authorization constraint element in the DTD.- Author:
- Danny Coward
-
-
Field Summary
Fields Modifier and Type Field Description static String
BASIC_METHOD
static String
FORM_METHOD
static String
MUTUAL_METHOD
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSecurityRole(SecurityRole securityRole)
Add a security role to the constraint.Enumeration
getSecurityRoles()
Return the security roles involved in this constraint.-
Methods inherited from interface com.sun.enterprise.deployment.web.WebDescriptor
getDescription, getLargeIconUri, getName, getSmallIconUri, setDescription, setLargeIconUri, setName, setSmallIconUri
-
-
-
-
Field Detail
-
BASIC_METHOD
static final String BASIC_METHOD
- See Also:
- Constant Field Values
-
FORM_METHOD
static final String FORM_METHOD
- See Also:
- Constant Field Values
-
MUTUAL_METHOD
static final String MUTUAL_METHOD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSecurityRoles
Enumeration getSecurityRoles()
Return the security roles involved in this constraint.- Returns:
- the enumeration of security roles.
-
addSecurityRole
void addSecurityRole(SecurityRole securityRole)
Add a security role to the constraint.- Parameters:
the
- security role.
-
-