public class RootServiceComponentPropertyProvider extends BaseProvider implements PropertyProvider
GET /api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/ciphers
GET /api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/jce_policy
GET /api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/jce_policy,RootServiceComponents/ciphers
2147483647
, then the unlimited
key JCE policy is installed, else each item will have some smaller value (in bytes).
For example:
"ciphers" : { "sunjce.aes" : 2147483647, "sunjce.aeswrap" : 2147483647, "sunjce.aeswrap_128" : 2147483647, "sunjce.aeswrap_192" : 2147483647, "sunjce.aeswrap_256" : 2147483647, "sunjce.arcfour" : 2147483647, "sunjce.blowfish" : 2147483647, ... }When querying for the JDC policy, the returned data is a structure with details about the JCE policy - namely whether the unlimited key length policy is installed or not. For example:
"jce_policy" : { "unlimited_key" : true }
Modifier and Type | Field and Description |
---|---|
static String |
CIPHER_PROPERTIES_PROPERTY_ID |
static String |
JCE_POLICY_PROPERTY_ID |
Constructor and Description |
---|
RootServiceComponentPropertyProvider()
Constructor
|
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
populateResources(Set<Resource> resources,
Request request,
Predicate predicate)
Populate the given set of resource with any properties that this property
provider can provide and return a populated set of resources.
|
checkCategory, checkConfigPropertyIds, checkPropertyIds, containsArguments, getCategoryIds, getPropertyIds, getRegexEntry, getRegexGroups, getRequestPropertyIds, isPatternKey, isPropertyCategoryRequested, isPropertyEntryRequested, isPropertyRequested, setResourceProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPropertyIds
public static final String JCE_POLICY_PROPERTY_ID
public static final String CIPHER_PROPERTIES_PROPERTY_ID
public RootServiceComponentPropertyProvider()
public Set<Resource> populateResources(Set<Resource> resources, Request request, Predicate predicate) throws SystemException
PropertyProvider
populateResources
in interface PropertyProvider
resources
- the resources to be populatedrequest
- the request object which defines the desired set of propertiespredicate
- the predicate object which filters which resources are returnedSystemException
- thrown if resources cannot be populatedCopyright © 2022 Apache Software Foundation. All rights reserved.