Class DefaultSecurityPolicy
java.lang.Object
org.cometd.server.DefaultSecurityPolicy
- All Implemented Interfaces:
org.cometd.bayeux.server.SecurityPolicy
public class DefaultSecurityPolicy
extends Object
implements org.cometd.bayeux.server.SecurityPolicy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanCreate(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession session, String channelId, org.cometd.bayeux.server.ServerMessage message) booleancanHandshake(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message) booleancanPublish(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerChannel channel, org.cometd.bayeux.server.ServerMessage message) booleancanSubscribe(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerChannel channel, org.cometd.bayeux.server.ServerMessage message) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cometd.bayeux.server.SecurityPolicy
canCreate, canHandshake, canPublish, canSubscribe
-
Constructor Details
-
DefaultSecurityPolicy
public DefaultSecurityPolicy()
-
-
Method Details
-
canCreate
public boolean canCreate(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession session, String channelId, org.cometd.bayeux.server.ServerMessage message) - Specified by:
canCreatein interfaceorg.cometd.bayeux.server.SecurityPolicy
-
canHandshake
public boolean canHandshake(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message) - Specified by:
canHandshakein interfaceorg.cometd.bayeux.server.SecurityPolicy
-
canPublish
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) - Specified by:
canPublishin interfaceorg.cometd.bayeux.server.SecurityPolicy
-
canSubscribe
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) - Specified by:
canSubscribein interfaceorg.cometd.bayeux.server.SecurityPolicy
-