Interface AccessControlService
-
- All Superinterfaces:
Component,IdentifiedComponent,InitializableComponent,UnmodifiableComponent
- All Known Implementing Classes:
BasicAccessControlService,DelegatingAccessControlService
@ThreadSafe public interface AccessControlService extends InitializableComponent, IdentifiedComponent, UnmodifiableComponent
A component that suppliesAccessControlinstances identified by a policy name.Policy names are an abstraction that can be used in a component's configuration to indicate which access control configuration to apply, creating a layer of indirection so that policies can be reused across components.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessControlgetInstance(String name)Get anAccessControlinstance matching a given name.-
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Methods inherited from interface net.shibboleth.utilities.java.support.component.InitializableComponent
initialize, isInitialized
-
-
-
-
Method Detail
-
getInstance
@Nonnull AccessControl getInstance(@Nonnull String name)
Get anAccessControlinstance matching a given name.In the absence of a matching instance, a default policy that denies access is returned.
- Parameters:
name- policy name- Returns:
- the matching instance, or a default
-
-