Package org.cometd.server
Class DefaultSecurityPolicy
- java.lang.Object
-
- org.cometd.server.DefaultSecurityPolicy
-
- All Implemented Interfaces:
org.cometd.bayeux.server.SecurityPolicy
public class DefaultSecurityPolicy extends java.lang.Object implements org.cometd.bayeux.server.SecurityPolicy
-
-
Constructor Summary
Constructors Constructor Description DefaultSecurityPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
canCreate
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)
- Specified by:
canCreate
in 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:
canHandshake
in 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:
canPublish
in 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:
canSubscribe
in interfaceorg.cometd.bayeux.server.SecurityPolicy
-
-