public class LegacyLDAPSecuritySettingPlugin extends Object implements SecuritySettingPlugin
| Modifier and Type | Class and Description |
|---|---|
protected class |
LegacyLDAPSecuritySettingPlugin.LDAPNamespaceChangeListener |
| Modifier and Type | Field and Description |
|---|---|
static String |
ADMIN_PERMISSION_VALUE |
static String |
AUTHENTICATION |
static String |
CONNECTION_PASSWORD |
static String |
CONNECTION_PROTOCOL |
static String |
CONNECTION_URL |
static String |
CONNECTION_USERNAME |
static String |
DESTINATION_BASE |
static String |
ENABLE_LISTENER |
static String |
FILTER |
static String |
INITIAL_CONTEXT_FACTORY |
static String |
READ_PERMISSION_VALUE |
static String |
ROLE_ATTRIBUTE |
static String |
WRITE_PERMISSION_VALUE |
| Constructor and Description |
|---|
LegacyLDAPSecuritySettingPlugin() |
public static final String INITIAL_CONTEXT_FACTORY
public static final String CONNECTION_URL
public static final String CONNECTION_USERNAME
public static final String CONNECTION_PASSWORD
public static final String CONNECTION_PROTOCOL
public static final String AUTHENTICATION
public static final String ROLE_ATTRIBUTE
public static final String FILTER
public static final String DESTINATION_BASE
public static final String ADMIN_PERMISSION_VALUE
public static final String READ_PERMISSION_VALUE
public static final String WRITE_PERMISSION_VALUE
public static final String ENABLE_LISTENER
public LegacyLDAPSecuritySettingPlugin init(Map<String,String> options)
SecuritySettingPluginorg.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.init in interface SecuritySettingPluginoptions - name/value pairs used to configure the SecuritySettingPlugin instancethis instancepublic String getRoleAttribute()
public SecuritySettingPlugin setRoleAttribute(String roleAttribute)
public String getFilter()
public LegacyLDAPSecuritySettingPlugin setFilter(String filter)
public String getDestinationBase()
public LegacyLDAPSecuritySettingPlugin setDestinationBase(String destinationBase)
public String getAuthentication()
public LegacyLDAPSecuritySettingPlugin setAuthentication(String authentication)
public String getConnectionPassword()
public LegacyLDAPSecuritySettingPlugin setConnectionPassword(String connectionPassword)
public String getConnectionProtocol()
public LegacyLDAPSecuritySettingPlugin setConnectionProtocol(String connectionProtocol)
public String getConnectionURL()
public LegacyLDAPSecuritySettingPlugin setConnectionURL(String connectionURL)
public String getConnectionUsername()
public LegacyLDAPSecuritySettingPlugin setConnectionUsername(String connectionUsername)
public String getInitialContextFactory()
public String getAdminPermissionValue()
public LegacyLDAPSecuritySettingPlugin setAdminPermissionValue(String adminPermissionValue)
public String getReadPermissionValue()
public LegacyLDAPSecuritySettingPlugin setReadPermissionValue(String readPermissionValue)
public String getWritePermissionValue()
public LegacyLDAPSecuritySettingPlugin setWritePermissionValue(String writePermissionValue)
public LegacyLDAPSecuritySettingPlugin setInitialContextFactory(String initialContextFactory)
public boolean isEnableListener()
public LegacyLDAPSecuritySettingPlugin setEnableListener(boolean enableListener)
protected boolean isContextAlive()
protected void open()
throws NamingException
NamingExceptionpublic Map<String,Set<Role>> getSecurityRoles()
SecuritySettingPlugingetSecurityRoles in interface SecuritySettingPluginorg.apache.activemq.artemis.core.security.Role objects defining the appropriate authorizationpublic void setSecurityRepository(HierarchicalRepository<Set<Role>> securityRepository)
SecuritySettingPluginHierarchicalRepository will be reflected in the broker.setSecurityRepository in interface SecuritySettingPluginpublic SecuritySettingPlugin stop()
SecuritySettingPluginstop in interface SecuritySettingPluginthis instancepublic void objectAdded(NamingEvent namingEvent)
namingEvent - the new entry event that occurredpublic void objectRemoved(NamingEvent namingEvent)
namingEvent - the removed entry event that occurredpublic void objectRenamed(NamingEvent namingEvent)
namingEvent - the renaming entry event that occurredpublic void objectChanged(NamingEvent namingEvent)
namingEvent - the changed entry event that occurredpublic void namingExceptionThrown(NamingExceptionEvent namingExceptionEvent)
namingExceptionEvent - the exception eventCopyright © 2018 JBoss by Red Hat. All rights reserved.