github托管地址:
https://github.com/bbossgroups/security
svn下载地址
https://github.com/bbossgroups/security/trunk
github托管地址:
https://github.com/bbossgroups/ticketdemo
svn下载地址
https://github.com/bbossgroups/ticketdemo/trunk
HttpSession session = request.getSession(false);//request.getSession(true)
AuthenticatedToken token = (AuthenticatedToken)session.getAttribute(TicketConsts.ticket_session_token_key);//获取用户会话对象,包含所有用户信息
String authcode = (String) session.getAttribute(TicketConsts.ticket_session_authenticatecode_key); //获取用户授权码,可用于单点登录功能
http://yin-bp.iteye.com/blog/1080824
The BBoss Framework is released under version 2.0 of the Apache License.