Examples of WebUserDetails


Examples of org.beangle.security.monitor.auth.web.WebUserDetails

  /**
   * 注册用户
   */
  public void registerAuthentication(Authentication authentication) {
    WebUserDetails details = (WebUserDetails) authentication.getDetails();
    OnlineProfile profile = (OnlineProfile) profileMap.get(details.getCategory());
    OnlineActivity existed = getOnlineActivity(details.getSessionId());
    String sessionId = details.getSessionId();
    Object principal = authentication.getPrincipal();
    OnlineActivity newOne = OnlineActivityBuilder.build(principal, authentication.getDetails(),
        sessionId, new Date());
    // 原先没有的要占座
    if (null == existed) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.