3 commentaires (3 commentaires)0 réactions (0 réactions)1 assigné (1 assigné)Java9 079 stars (9 079 stars)2 822 forks (2 822 forks)batch import
enhancementgood first issuenew features
Description
登录鉴权要放到长连接里面的第一帧命令里吧。登录可以请求http返回token,长连接建立之后,第一帧发送的应该是login 鉴权命令,成功后才能后续操作。
Guide contributeur
- Stack technique
- java
- Domaine
- backendauthentication
- Type d'issue
- feature
- DifficultéDifficulté estimée pour un nouveau contributeur, de 1 pour un très petit changement à 5 pour un travail expert.
- 3
- Temps estiméFourchette de temps approximative pour investiguer, implémenter, tester et préparer une pull request.
- 1-3 hours
- Statut d'activitéDisponibilité apparente de l'issue : fraîche, active, ancienne, bloquée ou en attente d'un mainteneur.
- stale
- ClartéClarté avec laquelle l'issue explique le changement attendu, les critères d'acceptation et la prochaine étape.
- mostly clear
- Prérequis
- Basic understanding of cim architectureJavaWebSocket authentication
- Accessibilité débutantScore de 1 à 100 estimant l'accessibilité de cette issue pour un premier contributeur.
- 20
- Direction de recherche
- Review the current login flow in cim server (likely based on Netty). The issue suggests using HTTP to obtain a token and then sending a login command as the first frame over the WebSocket. Investigate the existing WebSocket handler and authentication logic in the codebase. Consider how to integrate token validation and session management without breaking existing functionality.