uk.ac.soton.itinnovation.grid.client.tutorial
Class TestInputHandler

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.client.helpers.ServiceInputHandler
      extended by uk.ac.soton.itinnovation.grid.client.tutorial.TestInputHandler
All Implemented Interfaces:
UserInputHandler

public class TestInputHandler
extends ServiceInputHandler

Author:
mark

Constructor Summary
TestInputHandler()
           
 
Method Summary
 UnknownCertificateResponse queryUnknownCertificate(X509Certificate[] chain)
          Handles unknown certificates.
 
Methods inherited from class uk.ac.soton.itinnovation.grid.client.helpers.ServiceInputHandler
reportError, reportError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestInputHandler

public TestInputHandler()
Method Detail

queryUnknownCertificate

public UnknownCertificateResponse queryUnknownCertificate(X509Certificate[] chain)
Description copied from class: ServiceInputHandler
Handles unknown certificates.

Specified by:
queryUnknownCertificate in interface UserInputHandler
Overrides:
queryUnknownCertificate in class ServiceInputHandler
Parameters:
chain - the certificate chain presented by the service (may only contain a single certificate if that is all we have available)
Returns:
ACCEPT_THIS_MESSAGE if the current EPR trusts this certificate, or null otherwise


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.