Examples of MPAuthenticationProvider


Examples of org.wso2.carbon.identity.provider.xmpp.MPAuthenticationProvider

        isAutheticated = IdentityTenantUtil.getRealm(domainName, userName).getUserStoreManager()
                .authenticate(tenantUser, password);

        // attempts to do multi-factor authentication, if the user has enabled it.
        if (xmppSettingsDO != null && xmppSettingsDO.isXmppEnabled() && isAutheticated) {
            MPAuthenticationProvider mpAuthenticationProvider = new MPAuthenticationProvider(
                    xmppSettingsDO);
            authenticationStatus = mpAuthenticationProvider.authenticate();
            if (log.isDebugEnabled()) {
                log.debug("XMPP Multifactor Authentication was completed Successfully.");
            }
        }
View Full Code Here

Examples of org.wso2.carbon.identity.provider.xmpp.MPAuthenticationProvider

                .getRegistry(null, userId), UserCoreUtil.getTenantLessUsername(userId));

        // attempts to do multi-factor authentication, if the user has enabled
        // it.
        if (xmppSettingsDO != null && xmppSettingsDO.isXmppEnabled()) {
            MPAuthenticationProvider mpAuthenticationProvider = new MPAuthenticationProvider(
                    xmppSettingsDO);
            authenticationStatus = mpAuthenticationProvider.authenticate();
        }

        if (log.isInfoEnabled()) {
            log.info("XMPP Multifactor Authentication was completed Successfully.");
        }
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.