issrg.dis
Class DISCore.DISConfig
java.lang.Object
issrg.dis.DISCore.DISConfig
- Direct Known Subclasses:
- TestDS.TestDISConfig
- Enclosing class:
- DISCore
public static class DISCore.DISConfig
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
config_file
protected static final java.lang.String config_file
- See Also:
- Constant Field Values
serial_file
protected static final java.lang.String serial_file
- See Also:
- Constant Field Values
LDAP_AC_Attribute
protected java.lang.String LDAP_AC_Attribute
RootPKC
protected java.lang.String RootPKC
PolicyIssuer
protected java.lang.String PolicyIssuer
LDAP_PKC_Attribute
protected java.lang.String LDAP_PKC_Attribute
PolicyLocation
protected java.lang.String PolicyLocation
PolicyLocationUsername
protected java.lang.String PolicyLocationUsername
PolicyLocationPW
protected java.lang.String PolicyLocationPW
DIS
protected java.lang.String DIS
PolicyIdentifier
protected java.lang.String PolicyIdentifier
CredentialLocation
protected java.lang.String CredentialLocation
CredentialLocationUsername
protected java.lang.String CredentialLocationUsername
CredentialLocationPW
protected java.lang.String CredentialLocationPW
downgradeable
protected boolean downgradeable
SigningKeyFile
protected java.lang.String SigningKeyFile
SigningKeyPW
protected java.lang.String SigningKeyPW
log_file
protected java.lang.String log_file
SearchRequestor
protected java.lang.String SearchRequestor
level
protected Level level
priority
protected java.lang.String priority
trustedProxy
protected java.util.Vector trustedProxy
DISCore.DISConfig
public DISCore.DISConfig()
throws java.lang.Exception
- Throws:
java.lang.Exception
DISCore.DISConfig
public DISCore.DISConfig(java.lang.String path)
throws java.lang.Exception
- Throws:
java.lang.Exception
readConfigFile
protected void readConfigFile()
throws java.lang.Exception
- This method reads configuration parameters from configuration file for DIS.
- Throws:
java.lang.Exception
readConfigFile
protected void readConfigFile(java.io.InputStream inputStream)
throws java.lang.Exception
- Throws:
java.lang.Exception
process
protected boolean process(java.lang.String left,
java.lang.String right)
throws java.lang.Exception
- This method is used to process a pair of variable name and value read
from config file. DISConfig subclasses can override the method to add
more variables, and should return true for those variable names that
they understand.
- Parameters:
left
- the variable nameright
- the variable value
- Returns:
- true, if the variable name and value is accepted
- Throws:
java.lang.Exception
getLDAPUtility
public DISCore.Repository getLDAPUtility()
getCredRepository
public AttributeRepository getCredRepository()
getLogStream
public java.io.OutputStream getLogStream()
throws java.lang.Exception
- Throws:
java.lang.Exception
getSerialFile
public java.io.File getSerialFile()
- This method returns the filename where the serial number is stored.
For Tomcat, this is computed relative to the resource location; this
must work, because the classes are expanded onto the filesystem, even
though I don't like this approach, but that's how Tuan Anh did it.