public class KrbConfCreator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TKT_ENCTYPES_ARCFOUR_HMAC_MD5 |
protected static String |
DOMAIN_REALM_SECTION |
protected static String |
REALMS_SECTION |
static String |
seperator |
protected InputStream |
sourceFile |
Constructor and Description |
---|
KrbConfCreator(String... args) |
KrbConfCreator(String domains) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
StringBuffer |
parse() |
StringBuffer |
parse(String mixedMode) |
void |
toFile(StringBuffer sb) |
void |
toFile(String krb5ConfPath,
StringBuffer sb) |
protected static final String REALMS_SECTION
protected static final String DOMAIN_REALM_SECTION
public static final String DEFAULT_TKT_ENCTYPES_ARCFOUR_HMAC_MD5
public static final String seperator
protected InputStream sourceFile
public StringBuffer parse() throws AuthenticationException
AuthenticationException
public StringBuffer parse(String mixedMode) throws AuthenticationException
AuthenticationException
public void toFile(StringBuffer sb) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public void toFile(String krb5ConfPath, StringBuffer sb) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public static void main(String[] args) throws FileNotFoundException
FileNotFoundException
Copyright © 2012. All Rights Reserved.