Class AbstractTSAHandler
- java.lang.Object
-
- org.apache.axis2.handlers.AbstractHandler
-
- es.gob.afirma.tsaServiceInvoker.ws.AbstractTSAHandler
-
- All Implemented Interfaces:
org.apache.axis2.engine.Handler
- Direct Known Subclasses:
MustUnderstandResponseHander,TSAResponseHandler,TSAResponseSymmetricKeyHandler
public class AbstractTSAHandler extends org.apache.axis2.handlers.AbstractHandlerClass that represents handlers used in the TS@ service invoker.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 04/03/2020.
-
-
Constructor Summary
Constructors Constructor Description AbstractTSAHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPassword()Gets the value of the attributepassword.java.lang.StringgetPasswordType()Gets the value of the attributepasswordType.java.lang.StringgetRequestSymmetricAlgorithm()Gets the value of the attributerequestSymmetricAlgorithm.java.lang.StringgetRequestSymmetricKeyAlias()Gets the value of the attributerequestSymmetricKeyAlias.java.lang.StringgetRequestSymmetricKeyValue()Gets the value of the attributerequestSymmetricKeyValue.java.lang.StringgetResponseCertificateAlias()Gets the value of the attributeresponseCertificateAlias.java.lang.StringgetResponseKeystore()Gets the value of the attributeresponseKeystore.java.lang.StringgetResponseKeystorePass()Gets the value of the attributeresponseKeystorePass.java.lang.StringgetResponseKeystoreType()Gets the value of the attributeresponseKeystoreType.java.lang.StringgetResponseSAMLCertificateAlias()Gets the value of the attributeresponseSAMLCertificateAlias.java.lang.StringgetResponseSAMLKeystore()Gets the value of the attributeresponseSAMLKeystore.java.lang.StringgetResponseSAMLKeystorePass()Gets the value of the attributeresponseSAMLKeystorePass.java.lang.StringgetResponseSAMLKeystoreType()Gets the value of the attributeresponseSAMLKeystoreType.java.lang.StringgetResponseSymmetricKeyAlias()Gets the value of the attributeresponseSymmetricKeyAlias.java.lang.StringgetResponseSymmetricKeyValue()Gets the value of the attributeresponseSymmetricKeyValue.java.lang.StringgetSamlMethod()Gets the value of the attributesamlMethod.java.lang.StringgetUserAlias()Gets the value of the attributeuserAlias.java.lang.StringgetUserKeystore()Gets the value of the attributeuserKeystore.java.lang.StringgetUserKeystorePass()Gets the value of the attributeuserKeystorePass.org.apache.axis2.engine.Handler.InvocationResponseinvoke(org.apache.axis2.context.MessageContext msgContext)booleanisEncryptMessage()Gets the value of the attributeencryptMessage.voidsetEncryptMessage(boolean encryptMessageParam)Sets the value of the attributeencryptMessage.voidsetPassword(java.lang.String passParam)Sets the value of the attributepassword.voidsetPasswordType(java.lang.String passTypeParam)Sets the value of the attributepasswordType.voidsetRequestSymmetricAlgorithm(java.lang.String requestSymmetricAlgorithmParam)Sets the value of the attributerequestSymmetricAlgorithm.voidsetRequestSymmetricKeyAlias(java.lang.String requestSymmetricKeyAliasParam)Sets the value of the attributerequestSymmetricKeyAlias.voidsetRequestSymmetricKeyValue(java.lang.String requestSymmetricKeyValueParam)Sets the value of the attributerequestSymmetricKeyValue.voidsetResponseCertificateAlias(java.lang.String responseCertificateAliasParam)Sets the value of the attributeresponseCertificateAlias.voidsetResponseKeystore(java.lang.String responseKeystoreParam)Sets the value of the attributeresponseKeystore.voidsetResponseKeystorePass(java.lang.String responseKeystorePassParam)Sets the value of the attributeresponseKeystorePass.voidsetResponseKeystoreType(java.lang.String responseKeystoreTypeParam)Sets the value of the attributeresponseKeystoreType.voidsetResponseSAMLCertificateAlias(java.lang.String responseSAMLCertificateAliasParam)Sets the value of the attributeresponseSAMLCertificateAlias.voidsetResponseSAMLKeystore(java.lang.String responseSAMLKeystoreParam)Sets the value of the attributeresponseSAMLKeystore.voidsetResponseSAMLKeystorePass(java.lang.String responseSAMLKeystorePassParam)Sets the value of the attributeresponseSAMLKeystorePass.voidsetResponseSAMLKeystoreType(java.lang.String responseSAMLKeystoreTypeParam)Sets the value of the attributeresponseSAMLKeystoreType.voidsetResponseSymmetricKeyAlias(java.lang.String responseSymmetricKeyAliasParam)Sets the value of the attributeresponseSymmetricKeyAlias.voidsetResponseSymmetricKeyValue(java.lang.String responseSymmetricKeyValueParam)Sets the value of the attributeresponseSymmetricKeyValue.voidsetSamlMethod(java.lang.String samlMethodParam)Sets the value of the attributesamlMethod.voidsetUserAlias(java.lang.String userAliasParam)Sets the value of the attributeuserAlias.voidsetUserKeystore(java.lang.String userKeystoreParam)Sets the value of the attributeuserKeystore.voidsetUserKeystoreType(java.lang.String userKeyType)Sets the value of the attributeuserKeystoreType.
-
-
-
Method Detail
-
invoke
public org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext) throws org.apache.axis2.AxisFault- Throws:
org.apache.axis2.AxisFault- See Also:
Handler.invoke(org.apache.axis2.context.MessageContext)
-
getPassword
public final java.lang.String getPassword()
Gets the value of the attributepassword.- Returns:
- the value of the attribute
password.
-
setPassword
public final void setPassword(java.lang.String passParam)
Sets the value of the attributepassword.- Parameters:
passParam- The value for the attributepassword.
-
getPasswordType
public final java.lang.String getPasswordType()
Gets the value of the attributepasswordType.- Returns:
- the value of the attribute
passwordType.
-
setPasswordType
public final void setPasswordType(java.lang.String passTypeParam)
Sets the value of the attributepasswordType.- Parameters:
passTypeParam- The value for the attributepasswordType.
-
getUserKeystore
public final java.lang.String getUserKeystore()
Gets the value of the attributeuserKeystore.- Returns:
- the value of the attribute
userKeystore.
-
setUserKeystore
public final void setUserKeystore(java.lang.String userKeystoreParam)
Sets the value of the attributeuserKeystore.- Parameters:
userKeystoreParam- The value for the attributeuserKeystore.
-
getUserKeystorePass
public final java.lang.String getUserKeystorePass()
Gets the value of the attributeuserKeystorePass.- Returns:
- the value of the attribute
userKeystorePass.
-
setUserKeystoreType
public final void setUserKeystoreType(java.lang.String userKeyType)
Sets the value of the attributeuserKeystoreType.- Parameters:
userKeyType- The value for the attributeuserKeystoreType.
-
getUserAlias
public final java.lang.String getUserAlias()
Gets the value of the attributeuserAlias.- Returns:
- the value of the attribute
userAlias.
-
setUserAlias
public final void setUserAlias(java.lang.String userAliasParam)
Sets the value of the attributeuserAlias.- Parameters:
userAliasParam- The value for the attributeuserAlias.
-
getSamlMethod
public java.lang.String getSamlMethod()
Gets the value of the attributesamlMethod.- Returns:
- the value of the attribute
samlMethod.
-
setSamlMethod
public void setSamlMethod(java.lang.String samlMethodParam)
Sets the value of the attributesamlMethod.- Parameters:
samlMethodParam- The value for the attributesamlMethod.
-
getResponseKeystore
public java.lang.String getResponseKeystore()
Gets the value of the attributeresponseKeystore.- Returns:
- the value of the attribute
responseKeystore.
-
setResponseKeystore
public void setResponseKeystore(java.lang.String responseKeystoreParam)
Sets the value of the attributeresponseKeystore.- Parameters:
responseKeystoreParam- The value for the attributeresponseKeystore.
-
getResponseKeystorePass
public java.lang.String getResponseKeystorePass()
Gets the value of the attributeresponseKeystorePass.- Returns:
- the value of the attribute
responseKeystorePass.
-
setResponseKeystorePass
public void setResponseKeystorePass(java.lang.String responseKeystorePassParam)
Sets the value of the attributeresponseKeystorePass.- Parameters:
responseKeystorePassParam- The value for the attributeresponseKeystorePass.
-
getResponseKeystoreType
public java.lang.String getResponseKeystoreType()
Gets the value of the attributeresponseKeystoreType.- Returns:
- the value of the attribute
responseKeystoreType.
-
setResponseKeystoreType
public void setResponseKeystoreType(java.lang.String responseKeystoreTypeParam)
Sets the value of the attributeresponseKeystoreType.- Parameters:
responseKeystoreTypeParam- The value for the attributeresponseKeystoreType.
-
getResponseCertificateAlias
public java.lang.String getResponseCertificateAlias()
Gets the value of the attributeresponseCertificateAlias.- Returns:
- the value of the attribute
responseCertificateAlias.
-
setResponseCertificateAlias
public void setResponseCertificateAlias(java.lang.String responseCertificateAliasParam)
Sets the value of the attributeresponseCertificateAlias.- Parameters:
responseCertificateAliasParam- The value for the attributeresponseCertificateAlias.
-
getResponseSAMLKeystore
public java.lang.String getResponseSAMLKeystore()
Gets the value of the attributeresponseSAMLKeystore.- Returns:
- the value of the attribute
responseSAMLKeystore.
-
setResponseSAMLKeystore
public void setResponseSAMLKeystore(java.lang.String responseSAMLKeystoreParam)
Sets the value of the attributeresponseSAMLKeystore.- Parameters:
responseSAMLKeystoreParam- The value for the attributeresponseSAMLKeystore.
-
getResponseSAMLKeystorePass
public java.lang.String getResponseSAMLKeystorePass()
Gets the value of the attributeresponseSAMLKeystorePass.- Returns:
- the value of the attribute
responseSAMLKeystorePass.
-
setResponseSAMLKeystorePass
public void setResponseSAMLKeystorePass(java.lang.String responseSAMLKeystorePassParam)
Sets the value of the attributeresponseSAMLKeystorePass.- Parameters:
responseSAMLKeystorePassParam- The value for the attributeresponseSAMLKeystorePass.
-
getResponseSAMLKeystoreType
public java.lang.String getResponseSAMLKeystoreType()
Gets the value of the attributeresponseSAMLKeystoreType.- Returns:
- the value of the attribute
responseSAMLKeystoreType.
-
setResponseSAMLKeystoreType
public void setResponseSAMLKeystoreType(java.lang.String responseSAMLKeystoreTypeParam)
Sets the value of the attributeresponseSAMLKeystoreType.- Parameters:
responseSAMLKeystoreTypeParam- The value for the attributeresponseSAMLKeystoreType.
-
getResponseSAMLCertificateAlias
public java.lang.String getResponseSAMLCertificateAlias()
Gets the value of the attributeresponseSAMLCertificateAlias.- Returns:
- the value of the attribute
responseSAMLCertificateAlias.
-
setResponseSAMLCertificateAlias
public void setResponseSAMLCertificateAlias(java.lang.String responseSAMLCertificateAliasParam)
Sets the value of the attributeresponseSAMLCertificateAlias.- Parameters:
responseSAMLCertificateAliasParam- The value for the attributeresponseSAMLCertificateAlias.
-
isEncryptMessage
public boolean isEncryptMessage()
Gets the value of the attributeencryptMessage.- Returns:
- the value of the attribute
encryptMessage.
-
setEncryptMessage
public void setEncryptMessage(boolean encryptMessageParam)
Sets the value of the attributeencryptMessage.- Parameters:
encryptMessageParam- The value for the attributeencryptMessage.
-
getRequestSymmetricKeyAlias
public java.lang.String getRequestSymmetricKeyAlias()
Gets the value of the attributerequestSymmetricKeyAlias.- Returns:
- the value of the attribute
requestSymmetricKeyAlias.
-
setRequestSymmetricKeyAlias
public void setRequestSymmetricKeyAlias(java.lang.String requestSymmetricKeyAliasParam)
Sets the value of the attributerequestSymmetricKeyAlias.- Parameters:
requestSymmetricKeyAliasParam- The value for the attributerequestSymmetricKeyAlias.
-
getRequestSymmetricKeyValue
public java.lang.String getRequestSymmetricKeyValue()
Gets the value of the attributerequestSymmetricKeyValue.- Returns:
- the value of the attribute
requestSymmetricKeyValue.
-
setRequestSymmetricKeyValue
public void setRequestSymmetricKeyValue(java.lang.String requestSymmetricKeyValueParam)
Sets the value of the attributerequestSymmetricKeyValue.- Parameters:
requestSymmetricKeyValueParam- The value for the attributerequestSymmetricKeyValue.
-
getRequestSymmetricAlgorithm
public java.lang.String getRequestSymmetricAlgorithm()
Gets the value of the attributerequestSymmetricAlgorithm.- Returns:
- the value of the attribute
requestSymmetricAlgorithm.
-
setRequestSymmetricAlgorithm
public void setRequestSymmetricAlgorithm(java.lang.String requestSymmetricAlgorithmParam)
Sets the value of the attributerequestSymmetricAlgorithm.- Parameters:
requestSymmetricAlgorithmParam- The value for the attributerequestSymmetricAlgorithm.
-
getResponseSymmetricKeyAlias
public java.lang.String getResponseSymmetricKeyAlias()
Gets the value of the attributeresponseSymmetricKeyAlias.- Returns:
- the value of the attribute
responseSymmetricKeyAlias.
-
setResponseSymmetricKeyAlias
public void setResponseSymmetricKeyAlias(java.lang.String responseSymmetricKeyAliasParam)
Sets the value of the attributeresponseSymmetricKeyAlias.- Parameters:
responseSymmetricKeyAliasParam- The value for the attributeresponseSymmetricKeyAlias.
-
getResponseSymmetricKeyValue
public java.lang.String getResponseSymmetricKeyValue()
Gets the value of the attributeresponseSymmetricKeyValue.- Returns:
- the value of the attribute
responseSymmetricKeyValue.
-
setResponseSymmetricKeyValue
public void setResponseSymmetricKeyValue(java.lang.String responseSymmetricKeyValueParam)
Sets the value of the attributeresponseSymmetricKeyValue.- Parameters:
responseSymmetricKeyValueParam- The value for the attributeresponseSymmetricKeyValue.
-
-