public class DelegatingAccessControlService extends AbstractIdentifiableInitializableComponent implements AccessControlService
ReloadableService concept to implement AccessControlService
to hide the details of pinning and unpinning the underlying service.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private ReloadableService<AccessControlService> |
service
The service which manages the reloading.
|
| Constructor and Description |
|---|
DelegatingAccessControlService(ReloadableService<AccessControlService> acService)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AccessControl |
getInstance(String name)
Get an
AccessControl instance matching a given name. |
setIddoInitialize, getIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitializedgetId@Nonnull private final org.slf4j.Logger log
private final ReloadableService<AccessControlService> service
public DelegatingAccessControlService(@Nonnull@ParameterName(name="acService") ReloadableService<AccessControlService> acService)
acService - the service which will manage the loading.public AccessControl getInstance(@Nonnull String name)
AccessControl instance matching a given name.
In the absence of a matching instance, a default policy that denies access is returned.
getInstance in interface AccessControlServicename - policy nameCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.