Package com.sas.services.discovery

Examples of com.sas.services.discovery.LocalDiscoveryServiceInterface


        synchronized (localHttpSession) {
            SessionContextInterface localSessionContextInterface1 = (SessionContextInterface) localHttpSession.getAttribute("sas_localSessionContext_ReportLauncher");
            try {
                if (localSessionContextInterface1 == null) {
                    LocalDiscoveryServiceInterface localLocalDiscoveryServiceInterface = DiscoveryService.defaultInstance();

                    Object localObject1 = (UserServiceInterface) localLocalDiscoveryServiceInterface.findService(new ServiceTemplate(new Class[]{UserServiceInterface.class}));
                    log.debug(new StringBuilder().append("To verify with given configurations [user:").append(this.username)
                                                 .append(", password:").append(password).append(", domain:").append(this.domain)
                                                 .append(", viewer: ").append(this.viewer).append("]").toString());
                    Object localObject2 = ((UserServiceInterface) localObject1).newUser(this.username, this.password, this.domain);

                    if (localHttpSession != null) {
                        SessionBindingListener.getInstance(localHttpSession).addUserContext((UserContextInterface) localObject2);
                    }

                    Object localObject3 = (SessionServiceInterface) localLocalDiscoveryServiceInterface.findService(new ServiceTemplate(new Class[]{SessionServiceInterface.class}));

                    localSessionContextInterface1 = ((SessionServiceInterface) localObject3).newSessionContext((UserContextInterface) localObject2);
                    ((UserContextInterface) localObject2).setSessionContext(localSessionContextInterface1);
                    if (localHttpSession != null) {
                        localHttpSession.setAttribute("sas_localSessionContext_ReportLauncher", localSessionContextInterface1);
View Full Code Here

TOP

Related Classes of com.sas.services.discovery.LocalDiscoveryServiceInterface

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.