|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkrb5.client.lib.AuthContext
public class AuthContext
Class Description : Client Authentication context. It represents a per-connection context used by the various functions involved directly in client/server authentication. Some of the data stored in this context includes addresses, sequence numbers, checksum type, credential cache handler, etc.
Field Summary | |
---|---|
static int |
APP_Port
|
static int |
AS_Port
Authentication server port |
static CredCacheInterface |
cCache
credential cache at client side |
static EncryptionKey |
clientKey
Client's secret key |
static boolean |
isINITIALIZED
if the authContext has been initialized; |
static java.lang.String |
KDC_Host
KDC host name |
static java.lang.String |
KDC_Realm
KDC default realm |
static java.lang.String |
KRB_CACHE_FILE
cache file fule name including absolute path |
static java.lang.String |
KRB_CACHE_FILE_NAME
default cache file name |
static HostAddress |
localAddress
Local address |
static int |
localPort
Local port |
static LocalSeqNumber |
localSeqNumber
Local sequence number |
static int |
reqCksumType
Request checksum type |
static int |
safeCksumType
Safe checksum type |
static int |
TGS_Port
Ticket granting server port TGS port may be different from AS port but the KDC name is unique since the database don't support multi-host |
static PrincipalName |
usr
the principal name used now |
Constructor Summary | |
---|---|
AuthContext()
|
Method Summary | |
---|---|
static void |
init(java.lang.String usr_name,
java.lang.String usr_psword)
Initialize authentication context constants. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean isINITIALIZED
public static PrincipalName usr
public static java.lang.String KDC_Host
public static java.lang.String KDC_Realm
public static int AS_Port
public static int TGS_Port
public static int APP_Port
public static HostAddress localAddress
public static int localPort
public static EncryptionKey clientKey
public static LocalSeqNumber localSeqNumber
public static int reqCksumType
public static int safeCksumType
public static final java.lang.String KRB_CACHE_FILE_NAME
public static java.lang.String KRB_CACHE_FILE
public static CredCacheInterface cCache
Constructor Detail |
---|
public AuthContext()
Method Detail |
---|
public static void init(java.lang.String usr_name, java.lang.String usr_psword) throws RealmException
usr_name
- User nameusr_psword
- User Password - Principal's secret key
RealmException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |