Package org.globus.myproxy
Class MyProxyCLI
java.lang.Object
org.globus.myproxy.MyProxyCLI
MyProxy Command Line Client
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
static final int
private boolean
private static final String
private boolean
private static final String
private static final String
private String
private static final String
static final int
private static final String
static final int
private int
static final int
private static final String
private static final String
static final int
private boolean
private static final String
private String
private String
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
bootstrapIfNeeded
(MyProxy myProxy) private static GSSCredential
createNewProxy
(String userCertFile, String userKeyFile, int lifetime, boolean stdin) private static void
protected void
doChangePassword
(String[] args, int start) protected void
protected void
protected void
doGetTrustroots
(String[] args, int start, boolean anonymous) protected void
protected void
protected void
doPutOrStore
(String[] args, int start, boolean storeKey) protected void
private static void
private void
exit()
private void
private static GSSCredential
private MyProxy
private String
private boolean
isVOMS_USERCONFComment
(String line) static void
protected void
parseCmdLine
(String[] args) private ArrayList
private void
-
Field Details
-
MYPROXY_SERVER_PORT
public static final int MYPROXY_SERVER_PORT- See Also:
-
PORTAL_LIFETIME_HOURS
public static final int PORTAL_LIFETIME_HOURS- See Also:
-
CRED_LIFETIME_HOURS
public static final int CRED_LIFETIME_HOURS- See Also:
-
MATCH_CN_ONLY
public static final int MATCH_CN_ONLY- See Also:
-
REGULAR_EXP
public static final int REGULAR_EXP- See Also:
-
commonOptions
- See Also:
-
message
- See Also:
-
destroyMessage
- See Also:
-
pwdMessage
- See Also:
-
infoMessage
- See Also:
-
getMessage
- See Also:
-
putMessage
- See Also:
-
storeMessage
- See Also:
-
getTrustrootsMessage
- See Also:
-
port
private int port -
hostname
-
username
-
subjectDN
-
debug
private boolean debug -
dnAsUsername
private boolean dnAsUsername -
stdin
private boolean stdin -
wantTrustroots
private boolean wantTrustroots
-
-
Constructor Details
-
MyProxyCLI
public MyProxyCLI()
-
-
Method Details
-
parseCmdLine
-
getUsername
-
verifyCommonCmdLine
private void verifyCommonCmdLine() -
getMyProxy
-
doInfo
-
doDestroy
-
doChangePassword
-
isVOMS_USERCONFComment
-
readVOMS_USERCONF
-
doGet
-
doPut
-
doStore
-
doPutOrStore
-
doGetTrustroots
-
bootstrapIfNeeded
-
exit
private void exit() -
exit
-
error
-
displaySyntax
private static void displaySyntax() -
main
-
getDefaultCredential
-
createNewProxy
private static GSSCredential createNewProxy(String userCertFile, String userKeyFile, int lifetime, boolean stdin)
-