public class DefaultSessionAuthenticatorManager extends Object implements IWSSessionAuthenticatorManager<String,WsSession>
| 构造器和说明 |
|---|
DefaultSessionAuthenticatorManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
WsSession |
authenticate(io.netty.channel.Channel channel,
io.netty.handler.codec.http.FullHttpRequest req,
String path,
WebsocketProperties properties)
当建立连接时鉴权.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllUdpMonitors, getUserConnectedMachine, onSessionDestroypublic WsSession authenticate(io.netty.channel.Channel channel, io.netty.handler.codec.http.FullHttpRequest req, String path, WebsocketProperties properties) throws Exception
IWSSessionAuthenticatorManagerauthenticate 在接口中 IWSSessionAuthenticatorManager<String,WsSession>ExceptionCopyright © 2022. All rights reserved.