org.apache.activemq.security
Class LDAPAuthorizationMap
java.lang.Object
org.apache.activemq.security.LDAPAuthorizationMap
- All Implemented Interfaces:
- AuthorizationMap
public class LDAPAuthorizationMap
- extends java.lang.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 java.lang.String INITIAL_CONTEXT_FACTORY
- See Also:
- Constant Field Values
CONNECTION_URL
public static final java.lang.String CONNECTION_URL
- See Also:
- Constant Field Values
CONNECTION_USERNAME
public static final java.lang.String CONNECTION_USERNAME
- See Also:
- Constant Field Values
CONNECTION_PASSWORD
public static final java.lang.String CONNECTION_PASSWORD
- See Also:
- Constant Field Values
CONNECTION_PROTOCOL
public static final java.lang.String CONNECTION_PROTOCOL
- See Also:
- Constant Field Values
AUTHENTICATION
public static final java.lang.String AUTHENTICATION
- See Also:
- Constant Field Values
TOPIC_SEARCH_MATCHING
public static final java.lang.String TOPIC_SEARCH_MATCHING
- See Also:
- Constant Field Values
TOPIC_SEARCH_SUBTREE
public static final java.lang.String TOPIC_SEARCH_SUBTREE
- See Also:
- Constant Field Values
QUEUE_SEARCH_MATCHING
public static final java.lang.String QUEUE_SEARCH_MATCHING
- See Also:
- Constant Field Values
QUEUE_SEARCH_SUBTREE
public static final java.lang.String QUEUE_SEARCH_SUBTREE
- See Also:
- Constant Field Values
ADMIN_BASE
public static final java.lang.String ADMIN_BASE
- See Also:
- Constant Field Values
ADMIN_ATTRIBUTE
public static final java.lang.String ADMIN_ATTRIBUTE
- See Also:
- Constant Field Values
READ_BASE
public static final java.lang.String READ_BASE
- See Also:
- Constant Field Values
READ_ATTRIBUTE
public static final java.lang.String READ_ATTRIBUTE
- See Also:
- Constant Field Values
WRITE_BASE
public static final java.lang.String WRITE_BASE
- See Also:
- Constant Field Values
WRITE_ATTRIBUTE
public static final java.lang.String WRITE_ATTRIBUTE
- See Also:
- Constant Field Values
LDAPAuthorizationMap
public LDAPAuthorizationMap()
LDAPAuthorizationMap
public LDAPAuthorizationMap(java.util.Map options)
getAdminACLs
public java.util.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 java.util.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 java.util.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 java.lang.String getAdminAttribute()
setAdminAttribute
public void setAdminAttribute(java.lang.String adminAttribute)
getAdminBase
public java.lang.String getAdminBase()
setAdminBase
public void setAdminBase(java.lang.String adminBase)
getAuthentication
public java.lang.String getAuthentication()
setAuthentication
public void setAuthentication(java.lang.String authentication)
getConnectionPassword
public java.lang.String getConnectionPassword()
setConnectionPassword
public void setConnectionPassword(java.lang.String connectionPassword)
getConnectionProtocol
public java.lang.String getConnectionProtocol()
setConnectionProtocol
public void setConnectionProtocol(java.lang.String connectionProtocol)
getConnectionURL
public java.lang.String getConnectionURL()
setConnectionURL
public void setConnectionURL(java.lang.String connectionURL)
getConnectionUsername
public java.lang.String getConnectionUsername()
setConnectionUsername
public void setConnectionUsername(java.lang.String connectionUsername)
getContext
public javax.naming.directory.DirContext getContext()
setContext
public void setContext(javax.naming.directory.DirContext context)
getInitialContextFactory
public java.lang.String getInitialContextFactory()
setInitialContextFactory
public void setInitialContextFactory(java.lang.String initialContextFactory)
getQueueSearchMatchingFormat
public java.text.MessageFormat getQueueSearchMatchingFormat()
setQueueSearchMatchingFormat
public void setQueueSearchMatchingFormat(java.text.MessageFormat queueSearchMatchingFormat)
isQueueSearchSubtreeBool
public boolean isQueueSearchSubtreeBool()
setQueueSearchSubtreeBool
public void setQueueSearchSubtreeBool(boolean queueSearchSubtreeBool)
getReadAttribute
public java.lang.String getReadAttribute()
setReadAttribute
public void setReadAttribute(java.lang.String readAttribute)
getReadBase
public java.lang.String getReadBase()
setReadBase
public void setReadBase(java.lang.String readBase)
getTopicSearchMatchingFormat
public java.text.MessageFormat getTopicSearchMatchingFormat()
setTopicSearchMatchingFormat
public void setTopicSearchMatchingFormat(java.text.MessageFormat topicSearchMatchingFormat)
isTopicSearchSubtreeBool
public boolean isTopicSearchSubtreeBool()
setTopicSearchSubtreeBool
public void setTopicSearchSubtreeBool(boolean topicSearchSubtreeBool)
getWriteAttribute
public java.lang.String getWriteAttribute()
setWriteAttribute
public void setWriteAttribute(java.lang.String writeAttribute)
getWriteBase
public java.lang.String getWriteBase()
setWriteBase
public void setWriteBase(java.lang.String writeBase)
getACLs
protected java.util.Set getACLs(ActiveMQDestination destination,
java.lang.String roleBase,
java.lang.String roleAttribute)
addAttributeValues
protected java.util.Set addAttributeValues(java.lang.String attrId,
javax.naming.directory.Attributes attrs,
java.util.Set values)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
open
protected javax.naming.directory.DirContext open()
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.