issrg.test.dis
Class TestDS.TestDISConfig
java.lang.Object
issrg.dis.DISCore.DISConfig
issrg.test.dis.TestDS.TestDISConfig
- Enclosing class:
- TestDS
public static class TestDS.TestDISConfig
- extends DISCore.DISConfig
Fields inherited from class issrg.dis.DISCore.DISConfig |
config_file, CredentialLocation, CredentialLocationPW, CredentialLocationUsername, DIS, downgradeable, LDAP_AC_Attribute, LDAP_PKC_Attribute, level, log_file, PolicyIdentifier, PolicyIssuer, PolicyLocation, PolicyLocationPW, PolicyLocationUsername, priority, RootPKC, SearchRequestor, serial_file, SigningKeyFile, SigningKeyPW, trustedProxy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDS.TestDISConfig
public TestDS.TestDISConfig(java.lang.String path)
throws java.lang.Exception
- Throws:
java.lang.Exception
getLDAPUtility
public DISCore.Repository getLDAPUtility()
- Overrides:
getLDAPUtility
in class DISCore.DISConfig
getCredRepository
public AttributeRepository getCredRepository()
- Overrides:
getCredRepository
in class DISCore.DISConfig
getLogStream
public java.io.OutputStream getLogStream()
- Overrides:
getLogStream
in class DISCore.DISConfig
getSerialFile
public java.io.File getSerialFile()
- Description copied from class:
DISCore.DISConfig
- 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.
- Overrides:
getSerialFile
in class DISCore.DISConfig
process
protected boolean process(java.lang.String left,
java.lang.String right)
throws java.lang.Exception
- Description copied from class:
DISCore.DISConfig
- 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.
- Overrides:
process
in class DISCore.DISConfig
- Parameters:
left
- the variable nameright
- the variable value
- Returns:
- true, if the variable name and value is accepted
- Throws:
java.lang.Exception