public interface SecuritySettingPlugin extends Serializable
Modifier and Type | Method and Description |
---|---|
Map<String,Set<Role>> |
getSecurityRoles()
Fetch the security role information from the external environment (e.g.
|
SecuritySettingPlugin |
init(Map<String,String> options)
Initialize the plugin with the given configuration options.
|
void |
setSecurityRepository(HierarchicalRepository<Set<Role>> securityRepository)
This method is called by the broker during the start-up process.
|
SecuritySettingPlugin |
stop()
Clean up all the associated resources associated with this plugin (e.g.
|
SecuritySettingPlugin init(Map<String,String> options)
org.apache.activemq.artemis.core.deployers.impl.FileConfigurationParser#parseSecurity(org.w3c.dom.Element, org.apache.activemq.artemis.core.config.Configuration)
.
If you're creating/configuring the plugin programmatically then the recommended approach is to simply use the plugin's
getters/setters rather than this method.options
- name/value pairs used to configure the SecuritySettingPlugin instancethis
instanceSecuritySettingPlugin stop()
this
instanceMap<String,Set<Role>> getSecurityRoles()
org.apache.activemq.artemis.core.security.Role
objects defining the appropriate authorizationvoid setSecurityRepository(HierarchicalRepository<Set<Role>> securityRepository)
HierarchicalRepository
will be reflected in the broker.securityRepository
- Copyright © 2018 JBoss by Red Hat. All rights reserved.