Package org.cometd.documentation.server
Class ServerAuthenticationDocs.MyAppAuthenticator
java.lang.Object
org.cometd.server.DefaultSecurityPolicy
org.cometd.documentation.server.ServerAuthenticationDocs.MyAppAuthenticator
- 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.MyAppAuthenticator
extends DefaultSecurityPolicy
implements org.cometd.bayeux.server.ServerSession.RemovedListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
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
-
MyAppAuthenticator
public MyAppAuthenticator()
-
-
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:
canHandshake
in 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:
removed
in interfaceorg.cometd.bayeux.server.ServerSession.RemovedListener
-