Class ServerAuthenticationDocs.UsersAuthenticator

java.lang.Object
org.cometd.server.DefaultSecurityPolicy
org.cometd.documentation.server.ServerAuthenticationDocs.UsersAuthenticator
All Implemented Interfaces:
java.util.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:
ServerAuthenticationDocs

public class ServerAuthenticationDocs.UsersAuthenticator
extends DefaultSecurityPolicy
implements org.cometd.bayeux.server.ServerSession.RemovedListener
  • Constructor Summary

    Constructors
    Constructor Description
    UsersAuthenticator​(ServerAuthenticationDocs.Users users)  
  • Method Summary

    Modifier and Type Method Description
    void canHandshake​(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message, org.cometd.bayeux.Promise<java.lang.Boolean> promise)  
    void removed​(org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message, boolean expired)  

    Methods inherited from class org.cometd.server.DefaultSecurityPolicy

    canCreate, canHandshake, canPublish, canSubscribe

    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, canPublish, canSubscribe
  • Constructor Details

  • Method Details

    • canHandshake

      public void canHandshake​(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message, org.cometd.bayeux.Promise<java.lang.Boolean> promise)
      Specified by:
      canHandshake in interface org.cometd.bayeux.server.SecurityPolicy
    • removed

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