public class PDDASLHandler extends Object implements SOAPHandler<SOAPMessageContext>
| Constructor and Description |
|---|
PDDASLHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
analisiFaultPDDGateway(SOAPMessage messaggio)
Analizza un SOAPMessage e se si tratta di un SOAPFault solleva la
relativa eccezione
|
void |
close(MessageContext context) |
private void |
controllaRevocaCertificatoNew(sun.security.x509.X509CertImpl cert,
String codiceFiscaleCertificato,
String idTransazione) |
private SOAPMessage |
costruisciSoapFault(String codAttributo) |
private static String |
getDataCorrente()
Restituisce la data corrente nel formato dd/mm/yyyy - hh:mm:ss.SSS
|
Set<QName> |
getHeaders() |
private String |
getIdTransazione() |
boolean |
handleFault(SOAPMessageContext messageContext) |
boolean |
handleMessage(SOAPMessageContext messageContext) |
static SOAPMessage |
inviaMessaggio(SOAPMessage message,
String url,
String idTransazione) |
private boolean |
isCRL(File file) |
private String |
leggiCodFiscaleOperatore(SOAPMessage msg) |
static X509CRL |
loadCRLFromFile(String fileCRL,
String stringFlagMorsetti) |
static HashMap<String,X509CRL> |
loadListCRL(String pathFolder,
String flagMorsetto) |
private String |
toIndentedString(SOAPMessage message) |
SOAPMessage |
toSOAPMessage(InputStream is) |
private SOAPMessage |
toSOAPMessage(String messaggioString) |
String |
toString(SOAPMessage message) |
private static Logger log
public boolean handleMessage(SOAPMessageContext messageContext)
handleMessage in interface Handler<SOAPMessageContext>public Set<QName> getHeaders()
getHeaders in interface SOAPHandler<SOAPMessageContext>public boolean handleFault(SOAPMessageContext messageContext)
handleFault in interface Handler<SOAPMessageContext>public void close(MessageContext context)
close in interface Handler<SOAPMessageContext>public String toString(SOAPMessage message) throws SOAPException
SOAPExceptionprivate String toIndentedString(SOAPMessage message) throws SOAPException
SOAPExceptionprivate SOAPMessage toSOAPMessage(String messaggioString) throws SOAPException
SOAPExceptionpublic SOAPMessage toSOAPMessage(InputStream is) throws SOAPException
SOAPExceptionpublic static SOAPMessage inviaMessaggio(SOAPMessage message, String url, String idTransazione) throws SOAPException
SOAPExceptionprivate boolean isCRL(File file)
private SOAPMessage costruisciSoapFault(String codAttributo)
private void controllaRevocaCertificatoNew(sun.security.x509.X509CertImpl cert,
String codiceFiscaleCertificato,
String idTransazione)
throws Exception
Exceptionprivate String leggiCodFiscaleOperatore(SOAPMessage msg)
private static String getDataCorrente()
private String getIdTransazione()
public void analisiFaultPDDGateway(SOAPMessage messaggio) throws SOAPException, Exception
messaggio - SOAPExceptionApplicationExceptionExceptionpublic static HashMap<String,X509CRL> loadListCRL(String pathFolder, String flagMorsetto) throws CertificateException, CRLException, IOException
public static X509CRL loadCRLFromFile(String fileCRL, String stringFlagMorsetti) throws CertificateException, CRLException, IOException