org.glite.voms.contact
Class VOMSProxyInit

java.lang.Object
  extended by org.glite.voms.contact.VOMSProxyInit

public class VOMSProxyInit
extends Object

This class implements the voms-proxy-init functionality.

Author:
Andrea Ceccanti

Constructor Summary
VOMSProxyInit(String privateKeyPassword)
           
 
Method Summary
 void addVomsServer(VOMSServerInfo info)
           
protected  VOMSResponse contactServer(VOMSServerInfo sInfo, VOMSRequestOptions reqOptions)
           
 int getDelegationType()
           
protected  UserCredentials getGridProxy()
           
 String getPolicyType()
           
 int getProxyKeySize()
           
 int getProxyLifetime()
           
 String getProxyOutputFile()
           
 int getProxyType()
           
 AttributeCertificate getVomsAC(VOMSRequestOptions requestOptions)
           
 String getVomsData(VOMSRequestOptions requestOptions)
           
 UserCredentials getVomsProxy()
           
 UserCredentials getVomsProxy(Collection listOfReqOptions)
           
 VOMSWarningMessage[] getWarnings()
           
 boolean hasWarnings()
           
static VOMSProxyInit instance()
           
static VOMSProxyInit instance(String privateKeyPassword)
           
static VOMSProxyInit instance(UserCredentials credentials)
           
 void setDelegationType(int delegationType)
           
 void setPolicyType(String policyType)
           
 void setProxyKeySize(int bits)
           
 void setProxyLifetime(int proxyLifetime)
           
 void setProxyOutputFile(String proxyOutputFile)
           
 void setProxyType(int proxyType)
           
 void validateACs(List ACs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VOMSProxyInit

public VOMSProxyInit(String privateKeyPassword)
Method Detail

instance

public static VOMSProxyInit instance(String privateKeyPassword)

instance

public static VOMSProxyInit instance()

instance

public static VOMSProxyInit instance(UserCredentials credentials)

addVomsServer

public void addVomsServer(VOMSServerInfo info)

getVomsAC

public AttributeCertificate getVomsAC(VOMSRequestOptions requestOptions)

getVomsData

public String getVomsData(VOMSRequestOptions requestOptions)

validateACs

public void validateACs(List ACs)

getVomsProxy

public UserCredentials getVomsProxy()

getGridProxy

protected UserCredentials getGridProxy()

getVomsProxy

public UserCredentials getVomsProxy(Collection listOfReqOptions)

hasWarnings

public boolean hasWarnings()

getWarnings

public VOMSWarningMessage[] getWarnings()

contactServer

protected VOMSResponse contactServer(VOMSServerInfo sInfo,
                                     VOMSRequestOptions reqOptions)

getProxyOutputFile

public String getProxyOutputFile()

setProxyOutputFile

public void setProxyOutputFile(String proxyOutputFile)

getProxyLifetime

public int getProxyLifetime()

setProxyLifetime

public void setProxyLifetime(int proxyLifetime)

getProxyType

public int getProxyType()

setProxyType

public void setProxyType(int proxyType)

getProxyKeySize

public int getProxyKeySize()

setProxyKeySize

public void setProxyKeySize(int bits)

getPolicyType

public String getPolicyType()

setPolicyType

public void setPolicyType(String policyType)

getDelegationType

public int getDelegationType()

setDelegationType

public void setDelegationType(int delegationType)


Copyright © 2012. All Rights Reserved.