public class ServerAuthenticationDocs.UsersAuthenticator extends DefaultSecurityPolicy implements org.cometd.bayeux.server.ServerSession.RemovedListener
Constructor and Description |
---|
UsersAuthenticator(ServerAuthenticationDocs.Users users) |
Modifier and Type | Method and 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<Boolean> promise) |
void |
removed(org.cometd.bayeux.server.ServerSession session,
org.cometd.bayeux.server.ServerMessage message,
boolean expired) |
canCreate, canHandshake, canPublish, canSubscribe
public UsersAuthenticator(ServerAuthenticationDocs.Users users)
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)
canHandshake
in interface org.cometd.bayeux.server.SecurityPolicy
public void removed(org.cometd.bayeux.server.ServerSession session, org.cometd.bayeux.server.ServerMessage message, boolean expired)
removed
in interface org.cometd.bayeux.server.ServerSession.RemovedListener
Copyright © 2008–2023 The CometD Project. All rights reserved.