org.apache.qpid.server.security.access.config
Class PrincipalPermissions
java.lang.Object
org.apache.qpid.server.security.access.config.PrincipalPermissions
public class PrincipalPermissions
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrincipalPermissions
public PrincipalPermissions(String user)
grant
public void grant(PrincipalPermissions.Permission permission,
Object... parameters)
- Parameters:
permission
- the type of permission to checkparameters
- vararg depending on what permission was passed in
ACCESS: none
BIND: none
CONSUME: AMQShortString queueName, Boolean temporary, Boolean ownQueueOnly
CREATEQUEUE: Boolean temporary, AMQShortString queueName, AMQShortString exchangeName, AMQShortString routingKey
CREATEEXCHANGE: AMQShortString exchangeName, AMQShortString Class
DELETE: none
PUBLISH: Exchange exchange, AMQShortString routingKey
PURGE: none
UNBIND: none
authorise
public org.apache.qpid.server.security.Result authorise(PrincipalPermissions.Permission permission,
String... parameters)
- Parameters:
permission
- the type of permission to checkparameters
- vararg depending on what permission was passed in
ACCESS: none
BIND: QueueBindBody bindmethod, Exchange exchange, AMQQueue queue, AMQShortString routingKey
CONSUME: AMQQueue queue
CREATEQUEUE: Boolean autodelete, AMQShortString name
CREATEEXCHANGE: AMQShortString exchangeName
DELETE: none
PUBLISH: Exchange exchange, AMQShortString routingKey
PURGE: none
UNBIND: none
Licensed to the Apache Software Foundation