public class SecurityPolicyAdapter extends Object implements org.cometd.bayeux.server.SecurityPolicy
SecurityPolicy
.Constructor and Description |
---|
SecurityPolicyAdapter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreate(org.cometd.bayeux.server.BayeuxServer server,
org.cometd.bayeux.server.ServerSession session,
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 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 canCreate(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession session, String channelId, org.cometd.bayeux.server.ServerMessage message)
canCreate
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
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
Copyright © 2005–2016. All rights reserved.