uk.ac.soton.ecs.iam.grid.client.swing
Class SwingInputHandler
java.lang.Object
uk.ac.soton.itinnovation.grid.client.helpers.ServiceInputHandler
uk.ac.soton.ecs.iam.grid.client.swing.SwingInputHandler
- All Implemented Interfaces:
- UserInputHandler
public class SwingInputHandler
- extends ServiceInputHandler
An input handler that interacts with the user through Swing dialogs.
|
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
SwingInputHandler
public SwingInputHandler()
reportError
public void reportError(Exception ex,
Object object)
- Description copied from class:
ServiceInputHandler
- Logs an error using log4j.
- Specified by:
reportError in interface UserInputHandler- Overrides:
reportError in class ServiceInputHandler
- Parameters:
ex - The exception to reportobject - An object (usually a string) which the exception is about.
reportError
public void reportError(Exception ex)
- Description copied from interface:
UserInputHandler
- Convenience wrapper for reportError(Exception, Object), where the
object is null.
- Specified by:
reportError in interface UserInputHandler- Overrides:
reportError in class ServiceInputHandler
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.