org.globus.ogsa.impl.security.grim
Class GrimProxyCreator

java.lang.Object
  extended byorg.globus.ogsa.impl.security.grim.GrimProxyCreator

public class GrimProxyCreator
extends java.lang.Object


Field Summary
protected  java.lang.String execPath
           
static java.lang.String GRIM_EXE_LOCATION_PROPERTY
           
protected  int keyBits
           
protected  java.lang.String logFile
           
protected static Log logger
           
protected  java.lang.String proxyFileOut
           
protected  int requestedLifetimeMins
           
protected  java.lang.Runtime rt
           
protected  java.util.Calendar validUntil
           
 
Constructor Summary
GrimProxyCreator(int minutesValid)
           
GrimProxyCreator(int keyBits, int minutesValid, java.lang.String logFilename, java.lang.String proxyFilename)
           
 
Method Summary
protected  void execute()
           
 java.util.Calendar getExpirationDate()
           
 int getKeyBits()
           
 java.lang.String getLogFile()
           
 java.lang.String getProxyFileOut()
           
static void main(java.lang.String[] args)
           
 void refresh(int additionalMinutes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRIM_EXE_LOCATION_PROPERTY

public static final java.lang.String GRIM_EXE_LOCATION_PROPERTY
See Also:
Constant Field Values

validUntil

protected java.util.Calendar validUntil

requestedLifetimeMins

protected int requestedLifetimeMins

keyBits

protected int keyBits

logFile

protected java.lang.String logFile

proxyFileOut

protected java.lang.String proxyFileOut

rt

protected java.lang.Runtime rt

execPath

protected java.lang.String execPath

logger

protected static Log logger
Constructor Detail

GrimProxyCreator

public GrimProxyCreator(int minutesValid)
                 throws java.lang.Exception

GrimProxyCreator

public GrimProxyCreator(int keyBits,
                        int minutesValid,
                        java.lang.String logFilename,
                        java.lang.String proxyFilename)
                 throws java.lang.Exception
Method Detail

refresh

public void refresh(int additionalMinutes)
             throws java.lang.Exception
Throws:
java.lang.Exception

main

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

getExpirationDate

public java.util.Calendar getExpirationDate()

getKeyBits

public int getKeyBits()

getLogFile

public java.lang.String getLogFile()

getProxyFileOut

public java.lang.String getProxyFileOut()

execute

protected void execute()
                throws java.lang.Exception
Throws:
java.lang.Exception