Package org.apache.sling.replication.transport.authentication.impl

Examples of org.apache.sling.replication.transport.authentication.impl.UserCredentialsTransportAuthenticationProvider


            return componentProvider.getComponent(TransportAuthenticationProvider.class, name);

        } else if (TRANSPORT_AUTHENTICATION_PROVIDER_USER.equals(factory)) {
            String username = PropertiesUtil.toString(properties.get(TRANSPORT_AUTHENTICATION_PROVIDER_USER_PROPERTY_USERNAME), "").trim();
            String password = PropertiesUtil.toString(properties.get(TRANSPORT_AUTHENTICATION_PROVIDER_USER_PROPERTY_PASSWORD), "").trim();
            return new UserCredentialsTransportAuthenticationProvider(username, password);
        }

        return null;
    }
View Full Code Here

TOP

Related Classes of org.apache.sling.replication.transport.authentication.impl.UserCredentialsTransportAuthenticationProvider

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.