Class ConfigurationObject
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.restapi.server.jaxrs.management.ConfigurationObject
-
public class ConfigurationObject extends AbstractResource<ResourceTypeImpl>
Dumps the configuration properties and runtime properties.Properties are redacted in two steps:
- Properties are redacted based on keywords in their keys
- Properties are then redacted matching their values against various regex patterns.
- Since:
- 2021.40
-
-
Field Summary
Fields Modifier and Type Field Description protected PropertiesconfigurationPropsprotected PropertiesconfigurationServicePropsprotected PropertiesmiscPropsprotected static StringOS_TIMEZONE_ID_KEYprotected static StringOS_TIMEZONE_OFFSET_KEY
-
Constructor Summary
Constructors Constructor Description ConfigurationObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationPropertiesdoGet()protected PropertiesgetConfigurationProperties()protected PropertiesgetConfigurationServiceProperties()protected PropertiesgetMiscProperties()-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
-
-
-
Field Detail
-
OS_TIMEZONE_ID_KEY
protected static final String OS_TIMEZONE_ID_KEY
- See Also:
- Constant Field Values
-
OS_TIMEZONE_OFFSET_KEY
protected static final String OS_TIMEZONE_OFFSET_KEY
- See Also:
- Constant Field Values
-
configurationProps
protected Properties configurationProps
-
configurationServiceProps
protected Properties configurationServiceProps
-
miscProps
protected Properties miscProps
-
-
Method Detail
-
doGet
public ConfigurationProperties doGet() throws IOException
- Throws:
IOException
-
getConfigurationProperties
protected Properties getConfigurationProperties() throws IOException
- Throws:
IOException
-
getConfigurationServiceProperties
protected Properties getConfigurationServiceProperties()
-
getMiscProperties
protected Properties getMiscProperties()
-
-