rf.setSsoPrefix("XXX");
SsoResourceFactory ssoResourceFactory = new SsoResourceFactory(rf, ssoSessionProvider);
SsoAuthenticationHandler ssoAuthenticationHandler = new SsoAuthenticationHandler();
List<AuthenticationHandler> ssoHandlers = new ArrayList<AuthenticationHandler>();
ssoHandlers.add(ssoAuthenticationHandler);
AuthenticationService authenticationService = new AuthenticationService();
authenticationService.setExtraHandlers(ssoHandlers);