|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.federation.ConfigExaminer
This class examines the Federation configuration and reports what it discovers. It also detects and reports errors and anomolies.
Field Summary | |
private WTProperties |
properties
|
private String |
provider
|
private Hashtable |
repositoryTypes
|
private String |
searchBase
|
private static String |
SEPARATOR1
|
private static String |
SEPARATOR2
|
private String |
VMName
|
Constructor Summary | |
ConfigExaminer()
Constructor. |
Method Summary | |
private void |
examineActions(String objectTypeDn)
Examine and report actions defined for an object type |
private void |
examineLDAPServices()
Examine and report LDAP service configuration. |
private void |
examineNamingService()
Examine and report naming service configuration. |
private void |
examineObjectTypes(String repositoryType)
Examine and report object types defined for a repository type |
private void |
examineRepositories()
Examine and report repositories |
private void |
examineRepositoryTypes()
Examine and report repository types |
private void |
examineTaskConfiguration()
Examine and report task configuration. |
private void |
examineWindchillService()
Examine Windchill service configuration. |
private void |
examineWindchillURLs()
Examine and report Windchill URLs |
private void |
examineWtProperties()
Examine essential properties defined in wt.properties |
static void |
main(String[] args)
Main method. |
private String |
normalizeDn(String dn)
Removes extraneous whitespace from distinguished names. |
private void |
printTitle(String title)
Print a title for a section of the report. |
private Group |
queryDirectory(String url)
Queries the LDAP directory and catches any exceptions thrown. |
void |
run()
Examine the configuration and report what is discovered. |
private void |
verifyDn(String dn,
String failureMessage)
Verifies that a string is a valid distinguished name that references a directory entry that can be read. |
private void |
verifyURL(String url,
boolean authenticated)
Verifies that a URL is accessible and that it's authentication requirements are correct. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private WTProperties properties
private String provider
private Hashtable repositoryTypes
private String searchBase
private String VMName
private static final String SEPARATOR1
private static final String SEPARATOR2
Constructor Detail |
public ConfigExaminer()
Method Detail |
public void run() throws WTException
WTException
private void examineWtProperties() throws WTException
WTException
private void examineNamingService() throws WTException
WTException
private void examineWindchillService() throws WTException
WTException
private void examineTaskConfiguration() throws WTException
WTException
private void examineWindchillURLs() throws WTException
WTException
private void examineLDAPServices() throws WTException
WTException
private void examineRepositoryTypes() throws WTException
WTException
private void examineRepositories() throws WTException
WTException
private void examineObjectTypes(String repositoryType) throws WTException
WTException
private void examineActions(String objectTypeDn) throws WTException
WTException
private Group queryDirectory(String url)
url
- The LDAP URL to dereference.
private void verifyDn(String dn, String failureMessage)
dn
- The distinguished name to verify.failureMessage
- The message to print if verification fails.private void verifyURL(String url, boolean authenticated)
url
- The URL to verify.authenticated
- true if the URL should challenge for authenticationprivate String normalizeDn(String dn)
dn
- The distinguished name to normalize.
private void printTitle(String title)
title
- The title stringpublic static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |