| java.lang.Object winstone.auth.SecurityConstraint
SecurityConstraint | public class SecurityConstraint (Code) | | Models a restriction on a particular set of resources in the webapp.
author: mailto: Rick Knowles version: $Id: SecurityConstraint.java,v 1.7 2006/08/10 06:38:30 rickknowles Exp $ |
ELEM_TRANSPORT_GUARANTEE | final String ELEM_TRANSPORT_GUARANTEE(Code) | | |
ELEM_USER_DATA_CONSTRAINT | final String ELEM_USER_DATA_CONSTRAINT(Code) | | |
ELEM_WEB_RESOURCE_NAME | final String ELEM_WEB_RESOURCE_NAME(Code) | | |
SecurityConstraint | public SecurityConstraint(Node elm, Set rolesAllowed, int counter)(Code) | | Constructor
|
isAllowed | public boolean isAllowed(HttpServletRequest request)(Code) | | Call this to evaluate the security constraint - is this operation allowed ?
|
isApplicable | public boolean isApplicable(String url, String method)(Code) | | Call this to evaluate the security constraint - is this constraint applicable to this url ?
|
needsSSL | public boolean needsSSL()(Code) | | |
|
|