public class SAMLTrustEntityMapper extends GenericMapper implements Mapper
SAMLTrustEntityGenericMapper.Exporter<T>, GenericMapper.Importer<T>| Modifier and Type | Field and Description |
|---|---|
static String |
SAML_CFG_XML_CERTIFICATE_CREATED_TS |
static String |
SAML_CFG_XML_CERTIFICATE_EXPIRATION_TS |
static String |
SAML_CFG_XML_CERTIFICATE_NODE |
static String |
SAML_CFG_XML_CERTIFICATE_PEM_CERT |
static String |
SAML_CFG_XML_ENABLED |
static String |
SAML_CFG_XML_NODE |
static String |
SAML_CFGS_XML_ID |
static String |
SAML_CFGS_XML_PEM_KEY |
static String |
SAML_CFGS_XML_ROOT |
DATABASE_DATE_FORMAT, DATE_CONVERTER_FOR_EXPORT, LEGACY_XML_DATE_FORMAT, logger, PLUGIN_KEY_PREFIX| Constructor and Description |
|---|
SAMLTrustEntityMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
SAMLTrustDAO samlTrustDAO,
PropertyManager propertyManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addConfigToXml(org.dom4j.Element xml,
SAMLTrustEntity config) |
org.dom4j.Element |
exportXml(Map<String,Object> options)
Exports to V2 XML.
|
void |
importXml(org.dom4j.Element root)
Imports V2 XML.
|
addEntities, addEntitiesViaMerge, addEntitiesViaReplicate, addEntity, addEntity, addEntityViaMerge, addEntityViaSave, clearSession, exportXml, getAttributeValue, getBoolean, getBoolean, getDateConverterForXml, getDateFromTimestamp, getDirectoryTypeFromLegacyCode, getLong, getNameFromLegacyCode, getOperationTypeFromLegacyPermissionName, getOptionalValue, getSessionFactory, getString, getValue, importXml, setCDATA, setText, setTimestamppublic static final String SAML_CFGS_XML_ROOT
public static final String SAML_CFG_XML_NODE
public static final String SAML_CFG_XML_CERTIFICATE_NODE
public static final String SAML_CFGS_XML_ID
public static final String SAML_CFGS_XML_PEM_KEY
public static final String SAML_CFG_XML_CERTIFICATE_PEM_CERT
public static final String SAML_CFG_XML_CERTIFICATE_CREATED_TS
public static final String SAML_CFG_XML_CERTIFICATE_EXPIRATION_TS
public static final String SAML_CFG_XML_ENABLED
public SAMLTrustEntityMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
SAMLTrustDAO samlTrustDAO,
PropertyManager propertyManager)
public org.dom4j.Element exportXml(Map<String,Object> options) throws ExportException
MapperexportXml in interface Mapperoptions - map of arbitrarty options.ExportException - error producing XML.protected void addConfigToXml(org.dom4j.Element xml,
SAMLTrustEntity config)
public void importXml(org.dom4j.Element root)
throws ImportException
MapperimportXml in interface Mapperroot - root XML element.ImportException - error importing data.Copyright © 2024 Atlassian. All rights reserved.