Package | Description |
---|---|
org.apache.ambari.server.api.services | |
org.apache.ambari.server.state.kerberos |
Modifier and Type | Method and Description |
---|---|
KerberosServiceDescriptor[] |
AmbariMetaInfo.getKerberosDescriptor(ServiceInfo serviceInfo)
Gets the requested service-level Kerberos descriptor(s)
An array of descriptors are returned since the kerberos.json in a service directory may contain
descriptor details for one or more services.
|
Modifier and Type | Method and Description |
---|---|
KerberosServiceDescriptor |
KerberosServiceDescriptorFactory.createInstance(File file,
String name)
Creates the requested KerberosServiceDescriptor parsed from a JSON-formatted file.
|
KerberosServiceDescriptor |
KerberosServiceDescriptorFactory.createInstance(Map<String,Object> map,
String name)
Creates the requested KerberosServiceDescriptor parsed from a Map of data.
|
KerberosServiceDescriptor |
KerberosServiceDescriptorFactory.createInstance(String name,
Map<?,?> map)
Creates a new KerberosServiceDescriptor
|
KerberosServiceDescriptor |
KerberosServiceDescriptorFactory.createInstance(String name,
String json)
Creates a new KerberosServiceDescriptor
|
KerberosServiceDescriptor[] |
KerberosServiceDescriptorFactory.createInstances(File file)
Creates a Collection of KerberosServiceDescriptors parsed from a JSON-formatted file.
|
KerberosServiceDescriptor[] |
KerberosServiceDescriptorFactory.createInstances(Map<String,Object> map)
Creates a Collection of KerberosServiceDescriptors parsed from a Map of data.
|
KerberosServiceDescriptor[] |
KerberosServiceDescriptorFactory.createInstances(String json)
Creates a Collection of KerberosServiceDescriptors parsed from a JSON-formatted String.
|
KerberosServiceDescriptor |
KerberosDescriptor.getService(String name)
Gets the KerberosServiceDescriptor with the specified name
|
Modifier and Type | Method and Description |
---|---|
Map<String,KerberosServiceDescriptor> |
KerberosDescriptor.getServices()
Returns a Map of the KerberosServiceDescriptors in this KerberosDescriptor
|
Modifier and Type | Method and Description |
---|---|
void |
KerberosDescriptor.putService(KerberosServiceDescriptor service)
Adds, replaces, or updates a KerberosServiceDescriptor
If a KerberosServiceDescriptor with the same name does not exist in the services Map, a new
entry will be added; else if it one already exists and
overwrite is
true , it will be replaced; else the exsting entry will be updated. |
void |
KerberosServiceDescriptor.update(KerberosServiceDescriptor updates)
Updates this KerberosServiceDescriptor with data from another KerberosServiceDescriptor
Properties will be updated if the relevant updated values are not null.
|
Modifier and Type | Method and Description |
---|---|
void |
KerberosDescriptor.setServices(Map<String,KerberosServiceDescriptor> services)
Set the KerberosServiceDescriptors in this KerberosDescriptor
|
Copyright © 2022 Apache Software Foundation. All rights reserved.