Class DelegatingAccessControlService

All Implemented Interfaces:
Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent, UnmodifiableComponent, AccessControlService

public class DelegatingAccessControlService
extends AbstractIdentifiableInitializableComponent
implements AccessControlService
This class uses the ReloadableService concept to implement AccessControlService to hide the details of pinning and unpinning the underlying service.
  • Field Details

  • Constructor Details

  • Method Details

    • getInstance

      @Nonnull public AccessControl getInstance​(@Nonnull String name)
      Get an AccessControl instance matching a given name.

      In the absence of a matching instance, a default policy that denies access is returned.

      Specified by:
      getInstance in interface AccessControlService
      Parameters:
      name - policy name
      Returns:
      the matching instance, or a default