Interface AccessControl

  • All Known Implementing Classes:
    IPRangeAccessControl

    public interface AccessControl
    A policy that evaluates a ServletRequest and determines whether access to a named 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 check
        operation - operation being performed
        resource - target resource
        Returns:
        true iff access should be granted