private boolean isAccessPrecluded ( HttpConstraintElement httpConstraint ) { boolean accessPrecluded = false ; String [ ] roles = httpConstraint . getRolesAllowed ( ) ; if ( roles == null || roles . length == 0 ) { if ( EmptyRoleSemantic . DENY == httpConstraint . getEmptyRoleSemantic ( ) ) accessPrecluded = true ; } return accessPrecluded ; }
Determines if access is precluded for the given HTTP constraint .