public class AndesAuthorizationPlugin
extends org.wso2.andes.server.security.AbstractPlugin
Modifier and Type | Field and Description |
---|---|
static org.wso2.andes.server.security.SecurityPluginFactory<AndesAuthorizationPlugin> |
FACTORY
Factory method for AndesAuthorizationPlugin
|
Constructor and Description |
---|
AndesAuthorizationPlugin() |
Modifier and Type | Method and Description |
---|---|
org.wso2.andes.server.security.Result |
access(org.wso2.andes.server.security.access.ObjectType objectType,
Object instance)
Authorize access to broker
|
org.wso2.andes.server.security.Result |
authorise(org.wso2.andes.server.security.access.Operation operation,
org.wso2.andes.server.security.access.ObjectType objectType,
org.wso2.andes.server.security.access.ObjectProperties properties)
Authorize operations inside broker
|
public static final org.wso2.andes.server.security.SecurityPluginFactory<AndesAuthorizationPlugin> FACTORY
public org.wso2.andes.server.security.Result access(org.wso2.andes.server.security.access.ObjectType objectType, Object instance)
access
in interface org.wso2.andes.server.security.SecurityPlugin
access
in class org.wso2.andes.server.security.AbstractPlugin
objectType
- We only control access to virtual hostinstance
- the accessing instancepublic org.wso2.andes.server.security.Result authorise(org.wso2.andes.server.security.access.Operation operation, org.wso2.andes.server.security.access.ObjectType objectType, org.wso2.andes.server.security.access.ObjectProperties properties)
authorise
in interface org.wso2.andes.server.security.SecurityPlugin
authorise
in class org.wso2.andes.server.security.AbstractPlugin
operation
- Operation on broker object (CONSUME, PUBLISH, etc)objectType
- Type of object (EXCHANGE, QUEUE, etc)properties
- Properties attached to the operationCopyright © 2021 WSO2. All rights reserved.