public class CachedLDAPAuthorizationMap extends DefaultAuthorizationMap implements NamespaceChangeListener, ObjectChangeListener, org.springframework.beans.factory.InitializingBean
DefaultAuthorizationMap implementation which uses LDAP to initialize and updateANY_CHILD, ANY_DESCENDENT| Constructor and Description |
|---|
CachedLDAPAuthorizationMap() |
get, getAdminACLs, getDefaultEntry, getEntryClass, getEntryFor, getReadACLs, getTempDestinationAdminACLs, getTempDestinationAuthorizationEntry, getTempDestinationReadACLs, getTempDestinationWriteACLs, getWriteACLs, setAuthorizationEntries, setDefaultEntry, setTempDestinationAuthorizationEntrychooseValue, findWildcardMatches, getQueueRootChildCount, getQueueRootNode, getRootNode, getTempQueueRootNode, getTempTopicRootNode, getTopicRootChildCount, getTopicRootNode, put, remove, removeAll, reset, setEntries, unionpublic CachedLDAPAuthorizationMap()
protected DirContext open() throws NamingException
NamingExceptionprotected void updated()
protected AuthorizationEntry getEntry(String name)
protected ActiveMQDestination formatDestination(String destinationName, String destinationType)
protected void applyACL(AuthorizationEntry entry, SearchResult result) throws NamingException
NamingExceptionprotected String formatDestinationName(String cn)
protected boolean isPriviledge(Binding binding)
protected Set<AuthorizationEntry> getAllEntries(ActiveMQDestination destination)
getAllEntries in class DefaultAuthorizationMappublic void objectAdded(NamingEvent namingEvent)
objectAdded in interface NamespaceChangeListenerpublic void objectRemoved(NamingEvent namingEvent)
objectRemoved in interface NamespaceChangeListenerpublic void objectRenamed(NamingEvent namingEvent)
objectRenamed in interface NamespaceChangeListenerpublic void objectChanged(NamingEvent namingEvent)
objectChanged in interface ObjectChangeListenerpublic void namingExceptionThrown(NamingExceptionEvent namingExceptionEvent)
namingExceptionThrown in interface NamingListenerpublic void afterPropertiesSet() throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic String getConnectionURL()
public void setConnectionURL(String connectionURL)
public String getConnectionUsername()
public void setConnectionUsername(String connectionUsername)
public String getConnectionPassword()
public void setConnectionPassword(String connectionPassword)
public String getConnectionProtocol()
public void setConnectionProtocol(String connectionProtocol)
public String getAuthentication()
public void setAuthentication(String authentication)
public int getRefreshInterval()
public void setRefreshInterval(int refreshInterval)
Copyright © 2005–2017. All rights reserved.