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.RemovedListener, 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.RemovedListener
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canCreate(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession client, String channelId, org.cometd.bayeux.server.ServerMessage message)
    boolean
    canHandshake(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession client, org.cometd.bayeux.server.ServerMessage message)
    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)
    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)
    void
    removed(org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message, boolean timeout)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.cometd.bayeux.server.SecurityPolicy

    canCreate, canHandshake, canPublish, canSubscribe
  • Constructor Details

  • Method Details

    • 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:
      canCreate in interface org.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:
      canHandshake in interface org.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:
      canPublish in interface org.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:
      canSubscribe in interface org.cometd.bayeux.server.SecurityPolicy
    • removed

      public void removed(org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message, boolean timeout)
      Specified by:
      removed in interface org.cometd.bayeux.server.ServerSession.RemovedListener