be.ehealth.businessconnector.hub.security
Class HubDecryptionHandler

java.lang.Object
  extended by be.ehealth.businessconnector.hub.security.HubDecryptionHandler
All Implemented Interfaces:
Handler<SOAPMessageContext>, SOAPHandler<SOAPMessageContext>

public class HubDecryptionHandler
extends Object
implements SOAPHandler<SOAPMessageContext>

Handler that encrypt.


Constructor Summary
HubDecryptionHandler(Crypto crypto2)
           
 
Method Summary
 void close(MessageContext context)
          Close.
 Set<QName> getHeaders()
          Gets the headers.
 boolean handleFault(SOAPMessageContext context)
          Handle fault.
 boolean handleMessage(SOAPMessageContext cxt)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HubDecryptionHandler

public HubDecryptionHandler(Crypto crypto2)
Parameters:
crypto2 -
Method Detail

handleMessage

public boolean handleMessage(SOAPMessageContext cxt)
Specified by:
handleMessage in interface Handler<SOAPMessageContext>

handleFault

public boolean handleFault(SOAPMessageContext context)
Handle fault.

Specified by:
handleFault in interface Handler<SOAPMessageContext>
Parameters:
context - The SOAPMessageContext
Returns:
true, if successful

close

public void close(MessageContext context)
Close.

Specified by:
close in interface Handler<SOAPMessageContext>
Parameters:
context - The SOAPMessageContext

getHeaders

public Set<QName> getHeaders()
Gets the headers.

Specified by:
getHeaders in interface SOAPHandler<SOAPMessageContext>
Returns:
a Set containing all the headers



Connector Packaging PERSPHYSICIAN 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.