org.glite.security.delegation
Class GrDProxyDlgeeOptions

java.lang.Object
  extended by org.glite.security.delegation.GrDProxyDlgeeOptions

public class GrDProxyDlgeeOptions
extends java.lang.Object

Options manager for Delegatee (service) side


Constructor Summary
GrDProxyDlgeeOptions()
          The constructor of the class.
GrDProxyDlgeeOptions(java.util.Properties props)
          Constructor of class
GrDProxyDlgeeOptions(java.lang.String filename)
          Constructor of class
 
Method Summary
 java.lang.String getDlgeeDN()
          Getting delegatee's DN
 int getDlgeeKeySize()
          Get the key size to be used
 java.lang.String getDlgeePass()
          Getting delegatee's password
 java.lang.String getDlgeeProxyFile()
          Getting the name of proxy file
 java.lang.String getDlgeeStorage()
          Getting path to the storage of Proxy certificates
 java.lang.String getDlgeeStorageDbPool()
          Getting the pool name of the db storage
 java.lang.String getDlgeeStorageFactory()
          Getting the type of Storage Type used by the DLGEE
 void init(java.util.Properties props)
          Initializer
 void setDlgeeDN(java.lang.String dn)
          setting delegatee's DN
 void setDlgeeKeySize(int keySize)
          Setting generated delegation key size.
 void setDlgeePass(java.lang.String dgp)
          setting delegatee's password
 void setDlgeeProxyFile(java.lang.String pf)
          setting the name of proxy file
 void setDlgeeStorage(java.lang.String stg)
          setting path to the storage of Proxy certificates
 void setDlgeeStorageDbPool(java.lang.String stgDbPool)
          Setting the storage db pool name
 void setDlgeeStorageFactory(java.lang.String stgType)
          Setting the storage type being used by the DLGEE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrDProxyDlgeeOptions

public GrDProxyDlgeeOptions(java.lang.String filename)
                     throws java.io.IOException
Constructor of class

Parameters:
filename - file containing delegatee options
Throws:
java.io.IOException

GrDProxyDlgeeOptions

public GrDProxyDlgeeOptions(java.util.Properties props)
Constructor of class

Parameters:
props - Properties object containing necessary values

GrDProxyDlgeeOptions

public GrDProxyDlgeeOptions()
The constructor of the class.

Method Detail

init

public void init(java.util.Properties props)
Initializer


getDlgeeDN

public java.lang.String getDlgeeDN()
Getting delegatee's DN

Returns:
the DN

getDlgeePass

public java.lang.String getDlgeePass()
Getting delegatee's password

Returns:
password assigned to delegatee

getDlgeeProxyFile

public java.lang.String getDlgeeProxyFile()
Getting the name of proxy file

Returns:
certificat proxy file name

getDlgeeStorage

public java.lang.String getDlgeeStorage()
Getting path to the storage of Proxy certificates

Returns:
path to proxy certificates

getDlgeeStorageFactory

public java.lang.String getDlgeeStorageFactory()
Getting the type of Storage Type used by the DLGEE

Returns:
type of Storage Type used by the DLGEE

getDlgeeStorageDbPool

public java.lang.String getDlgeeStorageDbPool()
Getting the pool name of the db storage

Returns:
pool name of the db storage

getDlgeeKeySize

public int getDlgeeKeySize()
Get the key size to be used

Returns:
Key size to be used

setDlgeeDN

public void setDlgeeDN(java.lang.String dn)
setting delegatee's DN

Parameters:
dn - DN

setDlgeePass

public void setDlgeePass(java.lang.String dgp)
setting delegatee's password

Parameters:
dgp - delegatee password

setDlgeeProxyFile

public void setDlgeeProxyFile(java.lang.String pf)
setting the name of proxy file

Parameters:
pf - proxy file

setDlgeeStorage

public void setDlgeeStorage(java.lang.String stg)
setting path to the storage of Proxy certificates

Parameters:
stg - storage

setDlgeeStorageFactory

public void setDlgeeStorageFactory(java.lang.String stgType)
Setting the storage type being used by the DLGEE

Parameters:
stgType - storage type

setDlgeeStorageDbPool

public void setDlgeeStorageDbPool(java.lang.String stgDbPool)
Setting the storage db pool name

Parameters:
stgDbPool - storage pool name

setDlgeeKeySize

public void setDlgeeKeySize(int keySize)
Setting generated delegation key size.

Parameters:
keySize - the key size in bits


Copyright © 2004-2008. EU-EGEE