Examples of InfoCardDAO


Examples of org.wso2.carbon.identity.core.dao.InfoCardDAO

            OpenIDPape openIDPape = new OpenIDPape(req);
            OpenIDParameterDTO[] policySet = openIDPape.getPapeInfoFromRequest();

            if (policySet[0].getValue().equals("true")) {
                InfoCardDAO infoCardDAO = new InfoCardDAO(registry);
                if (infoCardDAO.getInfoCardsForUser(tenatUser).length < 1) {
                    policySet[0].setValue("false");
                }
            }

            if (policySet[1].getValue().equals("true")) {
                IdentityPersistenceManager identityPersistentManager = IdentityPersistenceManager
                        .getPersistanceManager();
                InfoCardDAO infoCardDAO = new InfoCardDAO(registry);

                if ((infoCardDAO.getInfoCardsForUser(username).length > 0)
                        || (identityPersistentManager.hasXMPPSettings(registry, tenatUser) && identityPersistentManager
                                .isXmppSettingsEnabled(registry, tenatUser))) {

                    if (infoCardDAO.getInfoCardsForUser(tenatUser).length > 0) {
                        policySet[2].setValue("true");
                    }

                    if (identityPersistentManager.hasXMPPSettings(registry, tenatUser)
                            && identityPersistentManager.isXmppSettingsEnabled(registry, tenatUser)) {
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.