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, unionprotected 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 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 String getBaseDn()
public void setBaseDn(String baseDn)
public int getRefreshInterval()
public void setRefreshInterval(int refreshInterval)
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.