public abstract class SecurityContext extends Object
Modifier and Type | Field and Description |
---|---|
static SecurityContext |
BROKER_SECURITY_CONTEXT |
Constructor and Description |
---|
SecurityContext(String userName) |
Modifier and Type | Method and Description |
---|---|
ConcurrentHashMap<ActiveMQDestination,ActiveMQDestination> |
getAuthorizedReadDests() |
ConcurrentHashMap<ActiveMQDestination,ActiveMQDestination> |
getAuthorizedWriteDests() |
abstract Set<Principal> |
getPrincipals() |
String |
getUserName() |
boolean |
isBrokerContext() |
boolean |
isInOneOf(Set<?> allowedPrincipals) |
public static final SecurityContext BROKER_SECURITY_CONTEXT
public SecurityContext(String userName)
public boolean isInOneOf(Set<?> allowedPrincipals)
public String getUserName()
public ConcurrentHashMap<ActiveMQDestination,ActiveMQDestination> getAuthorizedReadDests()
public ConcurrentHashMap<ActiveMQDestination,ActiveMQDestination> getAuthorizedWriteDests()
public boolean isBrokerContext()
Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.