org.glite.voms.contact.cli
Class VomsProxyInitClient

java.lang.Object
  extended by org.glite.voms.contact.cli.VomsProxyInitClient

public class VomsProxyInitClient
extends java.lang.Object

This class implements a command-line voms-proxy-init client.

Author:
Andrea Ceccanti

Field Summary
protected  org.apache.commons.cli.HelpFormatter helpFormatter
           
protected  org.apache.commons.cli.Options options
           
protected  org.apache.commons.cli.CommandLineParser parser
           
protected  VOMSProxyInit proxyInit
           
 
Constructor Summary
VomsProxyInitClient(java.lang.String[] args)
           
 
Method Summary
protected  void buildProxy()
           
protected  void getArguments(java.lang.String[] args)
           
static void main(java.lang.String[] args)
           
protected  void printHelpMessageAndExit(int exitStatus)
           
protected  void setupCaDir(java.lang.String caDir)
           
protected  void setupCLParser()
           
protected  void setupUserCredentials(java.lang.String userCert, java.lang.String userKey)
           
protected  void setupVomsdir(java.lang.String vomsdir)
           
protected  void setupVomsesPath(java.lang.String vomsesPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxyInit

protected VOMSProxyInit proxyInit

parser

protected org.apache.commons.cli.CommandLineParser parser

helpFormatter

protected org.apache.commons.cli.HelpFormatter helpFormatter

options

protected org.apache.commons.cli.Options options
Constructor Detail

VomsProxyInitClient

public VomsProxyInitClient(java.lang.String[] args)
Method Detail

setupUserCredentials

protected void setupUserCredentials(java.lang.String userCert,
                                    java.lang.String userKey)

setupVomsesPath

protected void setupVomsesPath(java.lang.String vomsesPath)

setupVomsdir

protected void setupVomsdir(java.lang.String vomsdir)

setupCaDir

protected void setupCaDir(java.lang.String caDir)

setupCLParser

protected void setupCLParser()

printHelpMessageAndExit

protected void printHelpMessageAndExit(int exitStatus)

getArguments

protected void getArguments(java.lang.String[] args)

buildProxy

protected void buildProxy()

main

public static void main(java.lang.String[] args)


Copyright © 2012. All Rights Reserved.