Examples of ProfilesAdminServiceClient


Examples of org.wso2.carbon.registry.profiles.ui.clients.ProfilesAdminServiceClient

public class GetProfileUtil {
    private static final Log log = LogFactory.getLog(GetProfileUtil.class);
    public static Map<String,Map<String,String>> getProfile(String path, ServletConfig config, HttpSession session) throws UIException{
        try{

            ProfilesAdminServiceClient client = new ProfilesAdminServiceClient(config,session);
            ProfilesBean bean = client.getUserProfile(path);
            if (bean == null || bean.getMainDataString() == null) {
                log.error("The profile was not found for the path " + path);
                return null;
            }
            Map <String,Map<String,String>> data = new HashMap();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.