add method

void add(
  1. String uri,
  2. Iterable<String> roles
)

Adds a protected resource. *

    • uri - a regular expression used to match the request URI.

Implementation

void add(String uri, Iterable<String> roles) {
  _mapping.add(new _ACMapping(uri, roles));
}