org.cometd.bayeux.server.SecurityPolicy
public 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.SecurityPolicy
public 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.SecurityPolicy
public 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.SecurityPolicy
public 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.SecurityPolicy
Copyright © 2008–2017 The CometD Project. All rights reserved.