org.apache.activemq.security
Class CachedLDAPAuthorizationMap

java.lang.Object
  extended by org.apache.activemq.filter.DestinationMap
      extended by org.apache.activemq.security.DefaultAuthorizationMap
          extended by org.apache.activemq.security.SimpleCachedLDAPAuthorizationMap
              extended by org.apache.activemq.security.CachedLDAPAuthorizationMap
All Implemented Interfaces:
AuthorizationMap, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class CachedLDAPAuthorizationMap
extends SimpleCachedLDAPAuthorizationMap
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

A DefaultAuthorizationMap implementation which uses LDAP to initialize and update authorization policy.

Author:
Hiram Chirino

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.activemq.security.SimpleCachedLDAPAuthorizationMap
SimpleCachedLDAPAuthorizationMap.CachedLDAPAuthorizationMapNamespaceChangeListener, SimpleCachedLDAPAuthorizationMap.DestinationType, SimpleCachedLDAPAuthorizationMap.PermissionType
 
Field Summary
 
Fields inherited from class org.apache.activemq.security.SimpleCachedLDAPAuthorizationMap
context, entries
 
Fields inherited from class org.apache.activemq.security.DefaultAuthorizationMap
DEFAULT_GROUP_CLASS, groupClass
 
Fields inherited from class org.apache.activemq.filter.DestinationMap
ANY_CHILD, ANY_DESCENDENT
 
Constructor Summary
CachedLDAPAuthorizationMap()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 
Methods inherited from class org.apache.activemq.security.SimpleCachedLDAPAuthorizationMap
applyACL, applyAcl, checkForUpdates, createContext, formatDestination, formatDestination, formatDestinationName, getAdminACLs, getAdminPermissionGroupSearchFilter, getAllEntries, getAuthentication, getConnectionPassword, getConnectionProtocol, getConnectionURL, getConnectionUsername, getEntry, getFilterForPermissionType, getGroupNameAttribute, getGroupObjectClass, getPermissionGroupMemberAttribute, getPrefixLengthForDestinationType, getQueueSearchBase, getReadACLs, getReadPermissionGroupSearchFilter, getRefreshInterval, getTempDestinationAdminACLs, getTempDestinationReadACLs, getTempDestinationWriteACLs, getTempSearchBase, getTopicSearchBase, getUserNameAttribute, getUserObjectClass, getWriteACLs, getWritePermissionGroupSearchFilter, isContextAlive, isLegacyGroupMapping, isRefreshDisabled, namingExceptionThrown, objectAdded, objectChanged, objectRemoved, objectRenamed, open, processQueryResults, query, setAdminPermissionGroupSearchFilter, setAuthentication, setConnectionPassword, setConnectionProtocol, setConnectionURL, setConnectionUsername, setGroupNameAttribute, setGroupObjectClass, setLegacyGroupMapping, setPermissionGroupMemberAttribute, setQueueSearchBase, setReadPermissionGroupSearchFilter, setRefreshDisabled, setRefreshInterval, setTempSearchBase, setTopicSearchBase, setUserNameAttribute, setUserObjectClass, setWritePermissionGroupSearchFilter, transcribeSet, updated
 
Methods inherited from class org.apache.activemq.security.DefaultAuthorizationMap
createGroupPrincipal, get, getDefaultEntry, getEntryClass, getEntryFor, getGroupClass, getTempDestinationAuthorizationEntry, setAuthorizationEntries, setDefaultEntry, setGroupClass, setTempDestinationAuthorizationEntry
 
Methods inherited from class org.apache.activemq.filter.DestinationMap
chooseValue, findWildcardMatches, getQueueRootChildCount, getQueueRootNode, getRootNode, getTempQueueRootNode, getTempTopicRootNode, getTopicRootChildCount, getTopicRootNode, put, remove, removeAll, reset, setEntries, union
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedLDAPAuthorizationMap

public CachedLDAPAuthorizationMap()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class SimpleCachedLDAPAuthorizationMap
Throws:
java.lang.Exception

destroy

public void destroy()
             throws java.lang.Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Overrides:
destroy in class SimpleCachedLDAPAuthorizationMap
Throws:
java.lang.Exception


Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.