Package xregistry.generated

Examples of xregistry.generated.ListUsersResponseDocument


    }

    public ListUsersResponseDocument listUsers(ListUsersDocument input) throws XregistryException {
        log.info("Request Received " + input.xmlText());
        String[] users = registryImpl.listUsers(findUserDN());
        ListUsersResponseDocument responseDocument = ListUsersResponseDocument.Factory
                .newInstance();
        ListUsersResponse listGroupsResponse = responseDocument.addNewListUsersResponse();

        if (users != null) {
            for (String user : users) {
                listGroupsResponse.addNewUser().setStringValue(user);
            }
        }
        log.info("Response  Sent  " + responseDocument.xmlText());
        return responseDocument;
    }
View Full Code Here


        return responseDocument.getListGroupsGivenAUserResponse().getGroupArray();
    }
    public String[] listUsers() throws XregistryException {
        ListUsersDocument input =  ListUsersDocument.Factory.newInstance();
        input.addNewListUsers();
        ListUsersResponseDocument responseDocument = proxy.listUsers(input);
       
        return responseDocument.getListUsersResponse().getUserArray();
    }
View Full Code Here

TOP

Related Classes of xregistry.generated.ListUsersResponseDocument

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.