org.apache.activemq.security
Class SecurityContext
java.lang.Object
org.apache.activemq.security.SecurityContext
- Direct Known Subclasses:
- JaasCertificateSecurityContext
public abstract class SecurityContext
- extends Object
Used to cache up authorizations so that subsequent requests are faster.
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BROKER_SECURITY_CONTEXT
public static final SecurityContext BROKER_SECURITY_CONTEXT
SecurityContext
public SecurityContext(String userName)
isInOneOf
public boolean isInOneOf(Set<?> allowedPrincipals)
getPrincipals
public abstract Set<?> getPrincipals()
getUserName
public String getUserName()
getAuthorizedReadDests
public ConcurrentHashMap<ActiveMQDestination,ActiveMQDestination> getAuthorizedReadDests()
getAuthorizedWriteDests
public ConcurrentHashMap<ActiveMQDestination,ActiveMQDestination> getAuthorizedWriteDests()
isBrokerContext
public boolean isBrokerContext()
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.