Interface StaticAccessController

  • All Superinterfaces:

    public interface StaticAccessController
    extends AccessController
    A StaticAccessController is an AccessController with an immutable resource list.
    • Method Detail

      • hasAccess

        boolean hasAccess​( clientCert,
                          java.lang.String resource,
                          java.lang.String method)
        Check if client has permission to access a particular resource. This method is invoked by every single request, therefore minimized execution time will result the best latency and throughput.
        Specified by:
        hasAccess in interface AccessController
        clientCert - the X509Certificate submitted by client
        resource - the resource being requested
        method - the operation (GET, POST, ...) to perform against the resource
        true if client has permission to access, otherwise false.