Package org.glite.security.voms.contact

Examples of org.glite.security.voms.contact.VOMSProxyInit


        }

        int vomsProxyType = decideVomsProxyType( globusCred.getProxyType() );

        VOMSServerInfo info = getVOMSServerInfo();
        VOMSProxyInit proxyInit = VOMSProxyInit.instance( globusCred );
        proxyInit.setProxyType(vomsProxyType);
        proxyInit.setProxyOutputFile(null);
        proxyInit.setProxyLifetime( this.certificateValidity );
        proxyInit.addVomsServer( info );
        GlobusCredential tmpCred = null;
        try {
            List<VOMSRequestOptions> options = getVOMSRequestOptions();
            tmpCred = proxyInit.getVomsProxy( options );
        } catch (VOMSException e) {
            throw new Exception(e.getMessage(), e);
        }
        return tmpCred;
    }
View Full Code Here


        }

        int vomsProxyType = decideVomsProxyType( globusCred.getProxyType() );

        VOMSServerInfo info = getVOMSServerInfo();
        VOMSProxyInit proxyInit = VOMSProxyInit.instance( globusCred );
        proxyInit.setProxyType(vomsProxyType);
        proxyInit.setProxyOutputFile(null);
        proxyInit.setProxyLifetime( this.certificateValidity );
        proxyInit.addVomsServer( info );
        GlobusCredential tmpCred = null;
        try {
            List<VOMSRequestOptions> options = getVOMSRequestOptions();
            log.debug("getVomsProxy");
            tmpCred = proxyInit.getVomsProxy( options );
        } catch (VOMSException e) {
            throw new Exception(e.getMessage(), e);
        }
        GSSCredential vomsCredential = null;
        vomsCredential = new GlobusGSSCredentialImpl(tmpCred,
View Full Code Here

TOP

Related Classes of org.glite.security.voms.contact.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.