public class KerberosComponentDescriptor extends AbstractKerberosDescriptorContainer
AbstractKerberosDescriptorContainer)AbstractKerberosDescriptorContainer)
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "KerberosComponentDescriptor",
"description": "Describes an Ambari component",
"type": "object",
"properties": {
"identities": {
"description": "A list of Kerberos identity descriptors",
"type": "array",
"items": {
"title": "KerberosIdentityDescriptor"
"type": "KerberosIdentityDescriptor"
}
},
"configurations": {
"description": "A list of relevant configuration blocks",
"type": "array",
"items": {
"title": "KerberosConfigurationDescriptor"
"type": "KerberosConfigurationDescriptor"
}
}
}
}
In this implementation,
AbstractKerberosDescriptor.name will hold the
KerberosComponentDescriptor#name valueAbstractKerberosDescriptor.TypeAUTH_TO_LOCAL_PROPERTY_SPECIFICATION_PATTERN| Constructor and Description |
|---|
KerberosComponentDescriptor(Map<?,?> data)
Creates a new KerberosComponentDescriptor
See
KerberosComponentDescriptor for an
example JSON structure that may be used to generate this map. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
AbstractKerberosDescriptorContainer |
getChildContainer(String name)
Returns a specific named child container
|
Collection<? extends AbstractKerberosDescriptorContainer> |
getChildContainers()
Returns the child containers associated with this container.
|
int |
hashCode() |
getAuthToLocalProperties, getConfiguration, getConfigurations, getConfigurations, getDescriptor, getIdentities, getIdentities, getIdentitiesSkipReferences, getIdentity, getReferencedIdentityDescriptor, isContainer, putAuthToLocalProperty, putConfiguration, putIdentity, removeIdentity, setAuthToLocalProperties, setConfigurations, setIdentities, toMap, updategetBooleanValue, getBooleanValue, getName, getParent, getPath, getRoot, getStringValue, getValue, nullToEmpty, nullToEmpty, nullToEmpty, setName, setParentpublic KerberosComponentDescriptor(Map<?,?> data)
KerberosComponentDescriptor for an
example JSON structure that may be used to generate this map.data - a Map of values use to populate the data for the new instanceKerberosComponentDescriptorpublic Collection<? extends AbstractKerberosDescriptorContainer> getChildContainers()
AbstractKerberosDescriptorContainergetChildContainers in class AbstractKerberosDescriptorContainerAbstractKerberosDescriptorContainerspublic AbstractKerberosDescriptorContainer getChildContainer(String name)
AbstractKerberosDescriptorContainergetChildContainer in class AbstractKerberosDescriptorContainername - the name of the child container to retrieveAbstractKerberosDescriptorContainerpublic int hashCode()
hashCode in class AbstractKerberosDescriptorContainerpublic boolean equals(Object object)
equals in class AbstractKerberosDescriptorContainerCopyright © 2022 Apache Software Foundation. All rights reserved.