es.juntadeandalucia.afirma.custody
Class CustodyConfiguration
java.lang.Object
es.juntadeandalucia.afirma.custody.CustodyConfiguration
public class CustodyConfiguration
- extends Object
Clase que encapsula la configuración del componente afirma-custody-client. Lee la configuración
de afirma.properties. Dicho fichero ha de estar situado obligatoriamente en el classpath de
la aplicación.
- Version:
- Revision: $Rev: 19264 $
, Last modified: $Date: 2016-01-26 12:19:15 +0100 (mar, 26 ene 2016) $
, Modified by: $Author: alejandro.roman $
- Author:
- Ernesto Salgado Suárez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BINARY_SEC_TOKEN
public static final String BINARY_SEC_TOKEN
- See Also:
- Constant Field Values
USER_NAME_TOKEN
public static final String USER_NAME_TOKEN
- See Also:
- Constant Field Values
DEFAULT_TRUSTORE
public static final String DEFAULT_TRUSTORE
- See Also:
- Constant Field Values
CustodyConfiguration
public CustodyConfiguration()
configure
public CustodyConfiguration configure()
throws CustodyException
- Throws:
CustodyException
configure
public CustodyConfiguration configure(Properties propiedades)
throws CustodyException
- Configuración avanzada del componente: permite configurar el componente a partir de un objeto
de propiedades. Se invoca del siguiente modo: new CustodyClientImpl( new
CustodyConfiguration().configure(new Properties()))
- Parameters:
propiedades - Objeto Properties que debe incluir la configuración del componente
- Returns:
- AfirmaConfiguration
- Throws:
AfirmaException
CustodyException
getIdApp
public String getIdApp()
getUser
public String getUser()
getPassword
public String getPassword()
getHost
public String getHost()
getTrustStore
public String getTrustStore()
getTrustStorePassword
public String getTrustStorePassword()
getKeystorePath
public String getKeystorePath()
getKeystoreType
public String getKeystoreType()
getKeystorePass
public String getKeystorePass()
getKeystoreCertAlias
public String getKeystoreCertAlias()
getAuthType
public String getAuthType()
setAuthType
public void setAuthType(String authType)
Copyright © 2016. All rights reserved.