Package org.cometd.documentation.server
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcanHandshake(org.cometd.bayeux.server.BayeuxServer server, org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message, org.cometd.bayeux.Promise<Boolean> promise) Methods inherited from class org.cometd.server.DefaultSecurityPolicy
canCreate, canHandshake, canPublish, canSubscribeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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<Boolean> promise)
-