Package org.apache.airavata.gfac.utils

Examples of org.apache.airavata.gfac.utils.MyProxyManager


        try {
            if (gssCredentails == null || gssCredentails.getRemainingLifetime() < 10 * 90) {
                if (proxyRenewer != null) {
                    gssCredentails = proxyRenewer.renewProxy();
                } else if (myproxyUserName != null && myproxyPasswd != null && myproxyServer != null) {
                    this.proxyRenewer = new MyProxyManager(myproxyUserName, myproxyPasswd, MyProxy.MYPROXY_SERVER_PORT,
                            myproxyLifetime, myproxyServer, trustedCertLoc);
                    log.debug("loaded credentails from Proxy server");
                    gssCredentails = this.proxyRenewer.renewProxy();
                }
            }
View Full Code Here


        if (gssCredentails == null || gssCredentails.getRemainingLifetime() < 10 * 90) {
            if (proxyRenewer != null) {
//                gssCredentails = proxyRenewer.renewProxy();
                globusCredential = proxyRenewer.getGlobusCredential();
            } else if (myproxyUserName != null && myproxyPasswd != null && myproxyServer != null) {
                this.proxyRenewer = new MyProxyManager(myproxyUserName, myproxyPasswd, MyProxy.MYPROXY_SERVER_PORT,
                        myproxyLifetime, myproxyServer, trustedCertLoc);
                log.debug("loaded credentails from Proxy server");
//                gssCredentails = this.proxyRenewer.renewProxy();
                globusCredential = proxyRenewer.getGlobusCredential();
            }
View Full Code Here

    public GSISecurityContext(Properties configuration, String token, String gateway, String user) {
        this.tokenId = token;
        this.gatewayId = gateway;
        this.gatewayUser = user;
        myProxyManager = new MyProxyManager(configuration);
    }
View Full Code Here

        myProxyManager = new MyProxyManager(configuration);
    }

    public GSISecurityContext(Properties configuration) {

        myProxyManager = new MyProxyManager(configuration);
    }
View Full Code Here

        myProxyManager = new MyProxyManager(configuration);
    }

    public GSISecurityContext(String myProxyServer, String myProxyUserName, String myProxyPassword, int myProxyLifetime, String trustedCertLoc) {

        myProxyManager = new MyProxyManager(myProxyUserName, myProxyPassword,
                myProxyLifetime, myProxyServer, trustedCertLoc);
    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.gfac.utils.MyProxyManager

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.