Examples of pullPath()


Examples of org.switchyard.common.io.pull.PropertiesPuller.pullPath()

        _loadProperties = null;
        String propsPath = getLoad();
        if (propsPath != null) {
            PropertiesType propsType = propsPath.endsWith(".xml") ? PropertiesType.XML : PropertiesType.PROPERTIES;
            PropertiesPuller propsPuller = new PropertiesPuller(propsType);
            Properties props = propsPuller.pullPath(propsPath, getClass(), PathType.values());
            if (props != null) {
                _loadProperties = props;
            }
        }
    }
View Full Code Here

Examples of org.switchyard.security.pull.KeyStorePuller.pullPath()

    private KeyStore getKeyStore() throws LoginException {
        String keyStoreLocation = getOption("keyStoreLocation", true);
        String keyStoreType = getOption("keyStoreType", false);
        String keyStorePassword = getOption("keyStorePassword", false);
        KeyStorePuller keyStorePuller = new KeyStorePuller(keyStoreType, keyStorePassword != null ? keyStorePassword.toCharArray() : null);
        return keyStorePuller.pullPath(keyStoreLocation, getClass(), PathType.values());
    }

    private Properties getRolesProperties() {
        String rolesPropertiesFile = getOption("rolesProperties", false);
        if (rolesPropertiesFile != null) {
View Full Code Here

Examples of org.switchyard.security.pull.KeyStorePuller.pullPath()

    private void init(String keyStoreLocation, String keyStoreType, char[] keyStorePassword, String keyAlias, char[] keyPassword, String keyTransformation) {
        if (keyStoreLocation == null) {
            return;
        }
        KeyStorePuller keyStorePuller = new KeyStorePuller(keyStoreType, keyStorePassword);
        KeyStore keyStore = keyStorePuller.pullPath(keyStoreLocation, getClass(), PathType.values());
        try {
            Certificate certificate = keyStore.getCertificate(keyAlias);
            _publicKey = certificate.getPublicKey();
            _keyTransformation = keyTransformation != null ? keyTransformation : _publicKey.getAlgorithm();
        } catch (KeyStoreException kse) {
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.