Package org.exoplatform.chat.server
Class EXoContinuationBayeux.EXoSecurityPolicy
- java.lang.Object
-
- org.exoplatform.chat.server.EXoContinuationBayeux.EXoSecurityPolicy
-
- All Implemented Interfaces:
EventListener,org.cometd.bayeux.Bayeux.BayeuxListener,org.cometd.bayeux.server.SecurityPolicy,org.cometd.bayeux.server.ServerSession.RemoveListener,org.cometd.bayeux.server.ServerSession.ServerSessionListener
- Enclosing class:
- EXoContinuationBayeux
public static class EXoContinuationBayeux.EXoSecurityPolicy extends Object implements org.cometd.bayeux.server.SecurityPolicy, org.cometd.bayeux.server.ServerSession.RemoveListener
-
-
Constructor Summary
Constructors Constructor Description EXoSecurityPolicy(EXoContinuationBayeux bayeux)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanCreate(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession client, String channelId, org.cometd.bayeux.server.ServerMessage message)booleancanHandshake(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession client, org.cometd.bayeux.server.ServerMessage message)booleancanPublish(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession client, org.cometd.bayeux.server.ServerChannel channel, org.cometd.bayeux.server.ServerMessage message)booleancanSubscribe(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession client, org.cometd.bayeux.server.ServerChannel channel, org.cometd.bayeux.server.ServerMessage message)voidremoved(org.cometd.bayeux.server.ServerSession session, boolean timeout)
-
-
-
Constructor Detail
-
EXoSecurityPolicy
public EXoSecurityPolicy(EXoContinuationBayeux bayeux)
-
-
Method Detail
-
canCreate
public boolean canCreate(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession client, 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 client, 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 client, 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 client, org.cometd.bayeux.server.ServerChannel channel, org.cometd.bayeux.server.ServerMessage message)- Specified by:
canSubscribein interfaceorg.cometd.bayeux.server.SecurityPolicy
-
removed
public void removed(org.cometd.bayeux.server.ServerSession session, boolean timeout)- Specified by:
removedin interfaceorg.cometd.bayeux.server.ServerSession.RemoveListener
-
-