| Package | Description |
|---|---|
| io.ballerina.messaging.broker.auth | |
| io.ballerina.messaging.broker.auth.authorization | |
| io.ballerina.messaging.broker.auth.authorization.enums |
| Constructor and Description |
|---|
AuthException(ResourceType resourceType,
String resourceName,
ResourceAction action) |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthorizationHandler.createAuthResource(ResourceType resourceType,
String resourceName,
boolean durable,
Subject subject)
Create auth resource.
|
void |
AuthorizationHandler.deleteAuthResource(ResourceType resourceType,
String resourceName)
Delete auth resource.
|
void |
AuthorizationHandler.handle(ResourceAuthScope brokerAuthScope,
ResourceType resourceType,
String resourceName,
ResourceAction action,
Subject subject)
Handle given auth scope and auth resource authorization.
|
void |
AuthorizationHandler.handle(ResourceType resourceType,
String resourceName,
ResourceAction action,
Subject subject)
Handle given auth scope authorization.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceType |
ResourceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
ResourceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2018 WSO2. All rights reserved.