nl.nikhef.slcshttps.gui
Class HttxClientPopupComm

java.lang.Object
  extended by nl.nikhef.slcshttps.gui.HttxClientPopupComm
All Implemented Interfaces:
HttxURLConnection.HttxClientCommunicator

public class HttxClientPopupComm
extends Object
implements HttxURLConnection.HttxClientCommunicator

Implementation of HttxURLConnection.HttxClientCommunicator using popup windows.

Version:
0.1
Author:
Mischa Sallé
See Also:
HttxURLConnection.HttxClientCommunicator

Constructor Summary
HttxClientPopupComm()
           
 
Method Summary
 void almostexpired(String mesg)
          Method to inform the user that his client certificate is about to expire using a popup window.
 boolean expired(String mesg)
          Method to ask the user for confirmation to continue since the client certificate has expired, using via a confirmation popup window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttxClientPopupComm

public HttxClientPopupComm()
Method Detail

expired

public boolean expired(String mesg)
Method to ask the user for confirmation to continue since the client certificate has expired, using via a confirmation popup window.

Specified by:
expired in interface HttxURLConnection.HttxClientCommunicator
Parameters:
mesg - String containing a message describing the problem.
Returns:
boolean true when the user wants to continue, false otherwise.

almostexpired

public void almostexpired(String mesg)
Method to inform the user that his client certificate is about to expire using a popup window.

Specified by:
almostexpired in interface HttxURLConnection.HttxClientCommunicator
Parameters:
mesg - String containing a message describing the problem.


nl.nikhef.slcshttps Mischa Sallé - msalle(AT)nikhef.nl