Interface AccessControl
-
- All Known Implementing Classes:
IPRangeAccessControl
public interface AccessControlA policy that evaluates aServletRequestand determines whether access to a named resource should be granted.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckAccess(javax.servlet.ServletRequest request, String operation, String resource)Determine whether the request to the resource should be granted.
-
-
-
Method Detail
-
checkAccess
boolean checkAccess(@Nonnull javax.servlet.ServletRequest request, @Nullable String operation, @Nullable String resource)Determine whether the request to the resource should be granted.- Parameters:
request- request to checkoperation- operation being performedresource- target resource- Returns:
- true iff access should be granted
-
-