UnifiedAuthentificationService uas = new UnifiedAuthentificationService();
uas.setAuthentificationServer(Portal.getInstance().getMasterServer());
uas.setLoginInfo(userLogged.getLogin(), userLogged.getPassword(), CommonSecurityHelper.BROWSER, true, Portal.getVersion());
HttpAuthentificationService af = new HttpAuthentificationService();
af.setServer(new SimpleTargetServerProvider(Portal.getInstance().getMasterServer()));
af.setUnifiedAuthService(uas);
af.setSsp(userSSP);
UAK u = null;
try {