|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkrb5.util.KrbConfFile
public class KrbConfFile
Class Description : Kerberos configuration file. A modified version of the code obtained from the Open Group Research Institute.
| Constructor Summary | |
|---|---|
KrbConfFile(java.io.File _file)
Class constructor |
|
KrbConfFile(java.lang.String path)
Class constructor |
|
| Method Summary | |
|---|---|
java.util.Hashtable |
getSubsection(java.util.Hashtable section,
java.lang.String subsectionName)
Returns a subsection |
java.util.Hashtable |
getSubsection(java.lang.String sectionName,
java.lang.String subsectionName)
Returns a subsection |
java.lang.String |
getValue(java.util.Hashtable section,
java.lang.String valueName)
Returns value for a given section and key |
java.lang.String |
getValue(java.lang.String sectionName,
java.lang.String valueName)
Returns value for a given section and key |
java.util.Enumeration |
getValueNames(java.util.Hashtable section)
Returns the key/value for a given section |
java.util.Enumeration |
getValueNames(java.lang.String sectionName)
Returns the key/value for a given section |
static void |
main(java.lang.String[] args)
Main |
void |
parse()
Parses the data |
void |
print()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KrbConfFile(java.lang.String path)
path - is of type Stringpublic KrbConfFile(java.io.File _file)
_file - is of type File| Method Detail |
|---|
public void parse()
throws KrbException
KrbException - an exceptionKrbException
public java.lang.String getValue(java.lang.String sectionName,
java.lang.String valueName)
sectionName - is of type StringvalueName - is of type String
public java.lang.String getValue(java.util.Hashtable section,
java.lang.String valueName)
section - is of type HashtablevalueName - is of type String
public java.util.Hashtable getSubsection(java.lang.String sectionName,
java.lang.String subsectionName)
sectionName - is of type StringsubsectionName - is of type String
public java.util.Hashtable getSubsection(java.util.Hashtable section,
java.lang.String subsectionName)
section - is of type HashtablesubsectionName - is of type String
public java.util.Enumeration getValueNames(java.lang.String sectionName)
sectionName - is of type String
public java.util.Enumeration getValueNames(java.util.Hashtable section)
section - is of type Hashtable
public void print()
public static void main(java.lang.String[] args)
args - is of type String[]
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||