Package | Description |
---|---|
org.cometd.bayeux.server | |
org.cometd.server.authorizer |
Modifier and Type | Class and Description |
---|---|
static class |
Authorizer.Result.Denied |
static class |
Authorizer.Result.Granted |
static class |
Authorizer.Result.Ignored |
Modifier and Type | Method and Description |
---|---|
Authorizer.Result |
Authorizer.authorize(Authorizer.Operation operation,
ChannelId channel,
ServerSession session,
ServerMessage message)
Blocking version of
Authorizer.authorize(Operation, ChannelId, ServerSession, ServerMessage, Promise) . |
static Authorizer.Result |
Authorizer.Result.deny(String reason) |
static Authorizer.Result |
Authorizer.Result.grant() |
static Authorizer.Result |
Authorizer.Result.ignore() |
Modifier and Type | Method and Description |
---|---|
default void |
Authorizer.authorize(Authorizer.Operation operation,
ChannelId channel,
ServerSession session,
ServerMessage message,
Promise<Authorizer.Result> promise)
Callback invoked to authorize the given
operation on the given channel . |
Modifier and Type | Method and Description |
---|---|
Authorizer.Result |
GrantAuthorizer.authorize(Authorizer.Operation operation,
ChannelId channel,
ServerSession session,
ServerMessage message) |
Copyright © 2008–2024 The CometD Project. All rights reserved.