Package com.adobe.livecycle.usermanager.client

Examples of com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient


    public boolean authorize() {
        if (liveCycleService.authorize(userName, password)) {
            try {
                PrincipalSearchFilter psf = new PrincipalSearchFilter();
                DirectoryManagerServiceClient dirClient = new DirectoryManagerServiceClient(liveCycleService.getServiceClientFactory());
                psf.setUserIdAbsolute(userName);
                List<?> principalList = null;
                principalList = dirClient.findPrincipals(psf);
                Iterator<?> pit = principalList.iterator();
                User lcUser = null;
                if (pit.hasNext())
                    lcUser = (User) (pit.next());
                canonicalName = lcUser.getCanonicalName();
View Full Code Here


                LiveCycleService lvService = user.getLiveCycleService();
                ServiceClientFactory clientFactory = lvService.getServiceClientFactory();
                impersonateUserAndSetClientFactory(user.getCanonicalName(), user.getDomainName(), clientFactory,user.getResourceManager());
                TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager(clientFactory);
                TaskManager taskManager = TaskManagerClientFactory.getTaskManager(clientFactory);
                DirectoryManagerServiceClient dirClient = new DirectoryManagerServiceClient(clientFactory);
                PrincipalSearchFilter psf = new PrincipalSearchFilter();
                psf.setUserIdAbsolute(user.getUserName());
                List<?> principalList = dirClient.findPrincipals(psf);
                Iterator<?> pit = principalList.iterator();
                User lcUser = null;
                if (pit.hasNext())
                    lcUser = (User) (pit.next());
                Set<Group> groupMemberships = lcUser.getGroupMemberships();
View Full Code Here

TOP

Related Classes of com.adobe.livecycle.usermanager.client.DirectoryManagerServiceClient

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.