@ThreadSafe public interface AccessControlService extends InitializableComponent, IdentifiedComponent, UnmodifiableComponent
AccessControl
instances 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.
Modifier and Type | Method and Description |
---|---|
AccessControl |
getInstance(String name)
Get an
AccessControl instance matching a given name. |
initialize, isInitialized
getId
@Nonnull 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.
name
- policy nameCopyright © 2016 JBoss by Red Hat. All rights reserved.