org.cometd.bayeux.server.SecurityPolicypublic class DefaultSecurityPolicy
extends java.lang.Object
implements org.cometd.bayeux.server.SecurityPolicy
| Constructor | Description |
|---|---|
DefaultSecurityPolicy() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canCreate(org.cometd.bayeux.server.BayeuxServer server,
org.cometd.bayeux.server.ServerSession session,
java.lang.String channelId,
org.cometd.bayeux.server.ServerMessage message) |
|
boolean |
canHandshake(org.cometd.bayeux.server.BayeuxServer server,
org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerMessage message) |
|
boolean |
canPublish(org.cometd.bayeux.server.BayeuxServer server,
org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerChannel channel,
org.cometd.bayeux.server.ServerMessage message) |
|
boolean |
canSubscribe(org.cometd.bayeux.server.BayeuxServer server,
org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerChannel channel,
org.cometd.bayeux.server.ServerMessage message) |
public boolean canCreate(org.cometd.bayeux.server.BayeuxServer server,
org.cometd.bayeux.server.ServerSession session,
java.lang.String channelId,
org.cometd.bayeux.server.ServerMessage message)
canCreate in interface org.cometd.bayeux.server.SecurityPolicypublic boolean canHandshake(org.cometd.bayeux.server.BayeuxServer server,
org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerMessage message)
canHandshake in interface org.cometd.bayeux.server.SecurityPolicypublic boolean canPublish(org.cometd.bayeux.server.BayeuxServer server,
org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerChannel channel,
org.cometd.bayeux.server.ServerMessage message)
canPublish in interface org.cometd.bayeux.server.SecurityPolicypublic boolean canSubscribe(org.cometd.bayeux.server.BayeuxServer server,
org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerChannel channel,
org.cometd.bayeux.server.ServerMessage message)
canSubscribe in interface org.cometd.bayeux.server.SecurityPolicyCopyright © 2008–2017 The CometD Project. All rights reserved.