Examples of addXmppSettings()


Examples of org.wso2.carbon.identity.core.persistence.IdentityPersistenceManager.addXmppSettings()

     * @param dto
     */
    public void addXmppSettings(XMPPSettingsDTO dto){
    try {
            IdentityPersistenceManager persistentManager = IdentityPersistenceManager.getPersistanceManager();
            persistentManager.addXmppSettings(IdentityTenantUtil.getRegistry(), dto.getUserId(), dto.getXmppServer(),dto.getXmppUserName(),
                    dto.getUserCode(),dto.isXmppEnabled(), dto.isPINEnabled());

        } catch (Exception e) {
            log.error("Error when instantiating the Persistence Manager.", e);
        }
View Full Code Here

Examples of org.wso2.carbon.identity.provider.xmpp.XMPPConfigurator.addXmppSettings()

        validateInputParameters(new String[]{dto.getUserId(), dto.getXmppServer(),
                dto.getXmppUserName(), dto.getUserCode()}, message);
        checkUserAuthorization(dto.getUserId(), "addUserXmppSettings");

        XMPPConfigurator provider = new XMPPConfigurator();
        provider.addXmppSettings(dto);
        return true;
    }
    /**
     * Edit XMPP Settings of a user Edit XMPP Settings.
     *
 
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.