Coder Social home page Coder Social logo

cannysquirrel / security Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bbossgroups/security

0.0 2.0 0.0 43.21 MB

bboss session framework.support session share between application cluster nodes and cross domain application nodes.support good application session monitor and session data statitic module.demo site http://session.bbossgroups.com/

Java 99.71% Batchfile 0.03% Shell 0.26%

security's Introduction

bboss group website:

http://www.bbossgroups.com

bboss group project blog:

http://yin-bp.iteye.com/

bboss 会话共享源码

github托管地址:

https://github.com/bbossgroups/security

svn下载地址

https://github.com/bbossgroups/security/trunk

session操作使用样列(遵循servlet标准规范):

HttpSession session = request.getSession();//request.getSession(true)

session.setMaxInactiveInterval(180000);//修改session有效期

TestVO testVO = new TestVO();

testVO.setId("sessionmoitor testvoid");

TestVO1 testVO1 = new TestVO1();

testVO1.setName("hello,sessionmoitor test vo1");

testVO.setTestVO1(testVO1);

session.setAttribute("testVO", testVO);

testVO = (TestVO)session.getAttribute("testVO");

//修改testVO中属性的值

testVO.setId("testvoidaaaaa,sessionmonitor modifiy id");

//需要将修改后的对象重新设置到session中否则无法存储最新的testVO到mongodb中

session.setAttribute("testVO", testVO);

testVO = (TestVO)session.getAttribute("testVO");

更多使用方法参考文档:

http://yin-bp.iteye.com/category/327553

|--bboss-security

bboss会话共享核心工程

|--bboss-ticket

bboss令牌统一认证核心工程

|--bboss-security-web和bboss-security-web-inf

bboss会话共享监控服务和令牌服务工程

为了方便应用系统集成bboss会话共享功能,准备了两个会话共享demo工程: https://github.com/bbossgroups/sessiondemo

|--session

如果只需要session共享功能,则整合这个工程中的配置文件和jar包到实际项目中即可

|--sessionmonitor

具体使用参考demo使用文档: http://yin-bp.iteye.com/blog/2087308

bboss项目特色特点介绍文档:

http://yin-bp.iteye.com/blog/1080824

License

The BBoss Framework is released under version 2.0 of the Apache License.

security's People

Contributors

yin-bp avatar

Watchers

James Cloos avatar cannysquirrel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.