Package org.geogrid.aist.tsukubagama.credential.impl

Examples of org.geogrid.aist.tsukubagama.credential.impl.VomsProxyInit


        throws Exception {

        Properties props = ConfigurationUtil.loadConfig(PROPERTY_FILE);

        MyProxyInit myproxyInit = getMyProxyInit(props);
        VomsProxyInit vomsProxyInit = getVomsProxyInit(props);

        TsukubaGamaProxyInitImpl proxyInit = new TsukubaGamaProxyInitImpl();
        proxyInit.setMyProxyInit(myproxyInit);
        proxyInit.setVomsProxyInit(vomsProxyInit);
View Full Code Here


        String portStr = props.getProperty(VOMS_SERVER_PORT);
        String dn = props.getProperty(VOMS_SERVER_DN);
        String voname = props.getProperty(VONAME);
        String trustCa = props.getProperty(TRUST_CA);
        String validity = props.getProperty(PROXY_CERTIFICATE_VALIDITY);
        VomsProxyInit vomsProxyInit = new VomsProxyInit();
        vomsProxyInit.setHostname(hostname);
        vomsProxyInit.setPort(portStr);
        vomsProxyInit.setHostDn(dn);
        vomsProxyInit.setVoName(voname);
        vomsProxyInit.setTrustCaDir(trustCa);
        vomsProxyInit.setCertificateValidity(validity);
        return vomsProxyInit;
    }
View Full Code Here

TOP

Related Classes of org.geogrid.aist.tsukubagama.credential.impl.VomsProxyInit

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.