Package org.cometd.documentation.server
Class ServerAuthenticationDocs.UsersAuthenticator
java.lang.Object
org.cometd.server.DefaultSecurityPolicy
org.cometd.documentation.server.ServerAuthenticationDocs.UsersAuthenticator
- 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:
- ServerAuthenticationDocs
public class ServerAuthenticationDocs.UsersAuthenticator
extends DefaultSecurityPolicy
implements org.cometd.bayeux.server.ServerSession.RemovedListener
-
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) voidremoved(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, 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
-
UsersAuthenticator
-
-
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) - Specified by:
canHandshakein interfaceorg.cometd.bayeux.server.SecurityPolicy
-
removed
public void removed(org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message, boolean expired) - Specified by:
removedin interfaceorg.cometd.bayeux.server.ServerSession.RemovedListener
-