Package it.eng.spagobi.services.proxy

Examples of it.eng.spagobi.services.proxy.SecurityServiceProxy


          if(userId != null) {
              try {
                // this is not correct. profile in session can come also from a concurrent execution
                profile = (IEngUserProfile) ioManager.getFromSession(IEngUserProfile.ENG_USER_PROFILE);
                if (profile == null || !profile.getUserUniqueIdentifier().toString().equals(userId)) {
                SecurityServiceProxy proxy = new SecurityServiceProxy(userId, ioManager.getSession());
                profile = proxy.getUserProfile();
                if (profile!=null){
                ioManager.setInSession(IEngUserProfile.ENG_USER_PROFILE, profile);
                ioManager.setInSession("userId", profile.getUserUniqueIdentifier());
                ioManager.contextManager.set(IEngUserProfile.ENG_USER_PROFILE, profile);
                ioManager.contextManager.set("userId", profile.getUserUniqueIdentifier());
View Full Code Here

TOP

Related Classes of it.eng.spagobi.services.proxy.SecurityServiceProxy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.