Class ServerAuthorizationDocs.CustomSecurityPolicy

java.lang.Object
org.cometd.server.DefaultSecurityPolicy
org.cometd.documentation.server.ServerAuthorizationDocs.CustomSecurityPolicy
All Implemented Interfaces:
org.cometd.bayeux.server.SecurityPolicy
Enclosing class:
ServerAuthorizationDocs

public class ServerAuthorizationDocs.CustomSecurityPolicy
extends DefaultSecurityPolicy
  • Constructor Summary

    Constructors
    Constructor Description
    CustomSecurityPolicy()  
  • 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)  

    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

    • CustomSecurityPolicy

      public CustomSecurityPolicy()
  • 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)