nl.nikhef.slcshttps.gui
Class TrustPopupComm
java.lang.Object
nl.nikhef.slcshttps.gui.TrustPopupComm
- All Implemented Interfaces:
- TrustManagerImpl.TrustCommunicator
public class TrustPopupComm
- extends Object
- implements TrustManagerImpl.TrustCommunicator
Implementation of TrustManagerImpl.TrustCommunicator using popup
windows.
- Version:
- 0.1
- Author:
- Mischa Sallé
- See Also:
TrustManagerImpl.TrustCommunicator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrustPopupComm
public TrustPopupComm()
confirm
public boolean confirm(String host,
String mesg,
String ques,
String[] errs,
String[] olderrs)
- method to ask the user for confirmation via a confirmation popup window.
- Specified by:
confirm in interface TrustManagerImpl.TrustCommunicator
- Parameters:
host - String with the hostname to which an SSL is
being set up.mesg - String containing a message describing the
problem.ques - String containing a question asked to the
user just before user input.errs - String array with a list of errors.olderrs - String array with a list of errors when
this cert was seen previously.
- Returns:
- boolean
true when the user accepts it,
false when the user rejects it.
| nl.nikhef.slcshttps
| Mischa Sallé - msalle(AT)nikhef.nl
|