public class Krb5Parser extends Object
| Constructor and Description |
|---|
Krb5Parser(File confFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump()
Print all the meaningful contents of the krb5.conf on the console.
|
Map<String,Object> |
getItems()
Get the whole map.
|
Object |
getSection(String sectionName,
String... keys)
Get the contents of a section given the section name.
|
List<String> |
getSections()
Get all the names of sections in a list.
|
void |
load()
Load the krb5.conf into a member variable, which is a Map.
|
public Krb5Parser(File confFile)
public void load()
throws IOException
IOException - epublic List<String> getSections()
public Object getSection(String sectionName, String... keys)
sectionName - the name of a sectionkeys - the keys listpublic void dump()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.