|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.dstc.security.kerberos.KerberosContext
A class for storing contextual information required by a Kerberos instance.
Constructor Summary | |
KerberosContext(String realm,
PrincipalName name,
InetAddress kdc)
Constructs a KerberosContext valid for the given realm, principal and KDC address |
Method Summary | |
CredentialStore |
getCredentialStore()
Returns the CredentialStore for this context |
int |
getDefaultTicketLifeTime()
Returns the default ticket lifetime for all ticket requests. |
InetAddress |
getKDCAddress()
Returns the KDC host address |
int |
getKDCPort()
Returns the KDC port |
KeyTab |
getKeyTab()
Returns the KeyTab for this context |
PrincipalName |
getPrincipalName()
Returns the principal name valid for the current context |
String |
getRealm()
Returns the local realm |
int[] |
getSupportedEncryptionTypes()
Returns the supported encryption types |
void |
setCredentialStore(CredentialStore store)
Sets the CredentialStore for this context |
void |
setDefaultTicketLifeTime(int hours)
Sets the default ticket lifetime in all ticket requests. |
void |
setKDCAddress(InetAddress add)
Sets the KDC host address |
void |
setKDCPort(int port)
Sets the KDC port. |
void |
setKeyTab(KeyTab keytab)
Sets the KeyTab for this context |
void |
setPrincipalName(PrincipalName name)
Sets the principal name valid for the current context |
void |
setRealm(String realm)
Sets the local realm |
void |
setSupportedEncryptionTypes(int[] eTypes)
Sets the supported encryption types. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public KerberosContext(String realm, PrincipalName name, InetAddress kdc)
Method Detail |
public void setKDCAddress(InetAddress add)
public InetAddress getKDCAddress()
public void setKDCPort(int port)
public int getKDCPort()
public void setPrincipalName(PrincipalName name)
public PrincipalName getPrincipalName()
public void setSupportedEncryptionTypes(int[] eTypes)
public int[] getSupportedEncryptionTypes()
public void setRealm(String realm)
public String getRealm()
public void setDefaultTicketLifeTime(int hours)
public int getDefaultTicketLifeTime()
public void setCredentialStore(CredentialStore store)
public CredentialStore getCredentialStore()
public void setKeyTab(KeyTab keytab)
public KeyTab getKeyTab()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |