//SsoSessionProvider ssoSessionProvider = new ServletSsoSessionProvider();
SimpleSsoSessionProvider ssoSessionProvider = new SimpleSsoSessionProvider();
ssoSessionProvider.setPrefix("XXX");
LockManager lockManager = new SimpleLockManager();
Map<String, String> users = new HashMap<String, String>();
users.put("me", "pwd");
SimpleSecurityManager securityManager = new SimpleSecurityManager("demo", users);
securityManager.setDigestGenerator(new DigestGenerator());