Sign in

wms / wms_xiaogangabu · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • wms_xiaogangabu
  • ..
  • websocket
  • StompPrincipal.java
  • websocket验证ok
    c99bdf05
    周峰 authored
    2021-05-07 14:35:53 +0800  
    Browse Code »
StompPrincipal.java 277 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package com.huaheng.framework.websocket;

import java.security.Principal;

class StompPrincipal implements Principal {
    String name;

    StompPrincipal(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }
}