org.apache.activemq.security
Class LDAPAuthorizationMap
java.lang.Object
org.apache.activemq.security.LDAPAuthorizationMap
- All Implemented Interfaces:
- AuthorizationMap
public class LDAPAuthorizationMap
- extends Object
- implements AuthorizationMap
An AuthorizationMap
which uses LDAP
- Author:
- ngcutura
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INITIAL_CONTEXT_FACTORY
public static final String INITIAL_CONTEXT_FACTORY
- See Also:
- Constant Field Values
CONNECTION_URL
public static final String CONNECTION_URL
- See Also:
- Constant Field Values
CONNECTION_USERNAME
public static final String CONNECTION_USERNAME
- See Also:
- Constant Field Values
CONNECTION_PASSWORD
public static final String CONNECTION_PASSWORD
- See Also:
- Constant Field Values
CONNECTION_PROTOCOL
public static final String CONNECTION_PROTOCOL
- See Also:
- Constant Field Values
AUTHENTICATION
public static final String AUTHENTICATION
- See Also:
- Constant Field Values
TOPIC_SEARCH_MATCHING
public static final String TOPIC_SEARCH_MATCHING
- See Also:
- Constant Field Values
TOPIC_SEARCH_SUBTREE
public static final String TOPIC_SEARCH_SUBTREE
- See Also:
- Constant Field Values
QUEUE_SEARCH_MATCHING
public static final String QUEUE_SEARCH_MATCHING
- See Also:
- Constant Field Values
QUEUE_SEARCH_SUBTREE
public static final String QUEUE_SEARCH_SUBTREE
- See Also:
- Constant Field Values
ADMIN_BASE
public static final String ADMIN_BASE
- See Also:
- Constant Field Values
ADMIN_ATTRIBUTE
public static final String ADMIN_ATTRIBUTE
- See Also:
- Constant Field Values
READ_BASE
public static final String READ_BASE
- See Also:
- Constant Field Values
READ_ATTRIBUTE
public static final String READ_ATTRIBUTE
- See Also:
- Constant Field Values
WRITE_BASE
public static final String WRITE_BASE
- See Also:
- Constant Field Values
WRITE_ATTRIBUTE
public static final String WRITE_ATTRIBUTE
- See Also:
- Constant Field Values
LDAPAuthorizationMap
public LDAPAuthorizationMap()
LDAPAuthorizationMap
public LDAPAuthorizationMap(Map options)
getAdminACLs
public Set getAdminACLs(ActiveMQDestination destination)
- Description copied from interface:
AuthorizationMap
- Returns the set of all ACLs capable of administering the given destination
- Specified by:
getAdminACLs
in interface AuthorizationMap
getReadACLs
public Set getReadACLs(ActiveMQDestination destination)
- Description copied from interface:
AuthorizationMap
- Returns the set of all ACLs capable of reading (consuming from) the given destination
- Specified by:
getReadACLs
in interface AuthorizationMap
getWriteACLs
public Set getWriteACLs(ActiveMQDestination destination)
- Description copied from interface:
AuthorizationMap
- Returns the set of all ACLs capable of writing to the given destination
- Specified by:
getWriteACLs
in interface AuthorizationMap
getAdminAttribute
public String getAdminAttribute()
setAdminAttribute
public void setAdminAttribute(String adminAttribute)
getAdminBase
public String getAdminBase()
setAdminBase
public void setAdminBase(String adminBase)
getAuthentication
public String getAuthentication()
setAuthentication
public void setAuthentication(String authentication)
getConnectionPassword
public String getConnectionPassword()
setConnectionPassword
public void setConnectionPassword(String connectionPassword)
getConnectionProtocol
public String getConnectionProtocol()
setConnectionProtocol
public void setConnectionProtocol(String connectionProtocol)
getConnectionURL
public String getConnectionURL()
setConnectionURL
public void setConnectionURL(String connectionURL)
getConnectionUsername
public String getConnectionUsername()
setConnectionUsername
public void setConnectionUsername(String connectionUsername)
getContext
public DirContext getContext()
setContext
public void setContext(DirContext context)
getInitialContextFactory
public String getInitialContextFactory()
setInitialContextFactory
public void setInitialContextFactory(String initialContextFactory)
getQueueSearchMatchingFormat
public MessageFormat getQueueSearchMatchingFormat()
setQueueSearchMatchingFormat
public void setQueueSearchMatchingFormat(MessageFormat queueSearchMatchingFormat)
isQueueSearchSubtreeBool
public boolean isQueueSearchSubtreeBool()
setQueueSearchSubtreeBool
public void setQueueSearchSubtreeBool(boolean queueSearchSubtreeBool)
getReadAttribute
public String getReadAttribute()
setReadAttribute
public void setReadAttribute(String readAttribute)
getReadBase
public String getReadBase()
setReadBase
public void setReadBase(String readBase)
getTopicSearchMatchingFormat
public MessageFormat getTopicSearchMatchingFormat()
setTopicSearchMatchingFormat
public void setTopicSearchMatchingFormat(MessageFormat topicSearchMatchingFormat)
isTopicSearchSubtreeBool
public boolean isTopicSearchSubtreeBool()
setTopicSearchSubtreeBool
public void setTopicSearchSubtreeBool(boolean topicSearchSubtreeBool)
getWriteAttribute
public String getWriteAttribute()
setWriteAttribute
public void setWriteAttribute(String writeAttribute)
getWriteBase
public String getWriteBase()
setWriteBase
public void setWriteBase(String writeBase)
getACLs
protected Set getACLs(ActiveMQDestination destination,
String roleBase,
String roleAttribute)
addAttributeValues
protected Set addAttributeValues(String attrId,
Attributes attrs,
Set values)
throws NamingException
- Throws:
NamingException
open
protected DirContext open()
throws NamingException
- Throws:
NamingException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.