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 |
---|---|
ConcurrentMap<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 abstract Set<Principal> getPrincipals()
public String getUserName()
public ConcurrentMap<ActiveMQDestination,ActiveMQDestination> getAuthorizedWriteDests()
public boolean isBrokerContext()
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.