Esempio n. 1
0
 private CredentialDistributionServer makeCredentialDistributionServer(
     String classifierXMLSetupFilePath, TrustClient trustClient)
     throws NullPointerException, SAXException, IOException, ParserConfigurationException {
   CredentialDistributionServer cds = new CredentialDistributionServer();
   cds.setup(classifierXMLSetupFilePath, trustClient);
   PTCommunicationASP comASP =
       (PTCommunicationASP) trustClient.getComponent(Vocabulary.EventListener);
   comASP.registerPTComASPMessageListener(cds, CredentialRequest.class);
   return cds;
 }
Esempio n. 2
0
 public String getCredentialDescription(String credName) {
   return credentialDistributionServer.getCredentialStore().getCredentialDescription(credName);
 }