Package de.uplanet.lucy.server.kerberos
Klasse KerberosTicket
java.lang.Object
de.uplanet.lucy.server.kerberos.KerberosTicket
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic Stringget()CallsThreadContext.getKerberosTicketBase64().static StringReturns the Kerberos ticket for the given service principal name.static booleanChecks if a Kerberos ticket is available in the current thread.static booleanisAvailable(String p_strSpn) Checks if a Kerberos ticket for the given service principal name is available in the current thread.
-
Methodendetails
-
isAvailable
public static boolean isAvailable()Checks if a Kerberos ticket is available in the current thread.- Gibt zurück:
trueif a Kerberos ticket is available in the current thread, orfalseotherwise.
-
isAvailable
Checks if a Kerberos ticket for the given service principal name is available in the current thread.- Parameter:
p_strSpn- The service principal name.- Gibt zurück:
trueif a Kerberos ticket is available in the current thread, orfalseotherwise.
-
get
CallsThreadContext.getKerberosTicketBase64().- Gibt zurück:
- The base64-encoded Kerberos ticket that is bound to the current thread,
or
nullifisAvailable()returnsfalse.
-
get
Returns the Kerberos ticket for the given service principal name. CallsThreadContext.getKerberosTicketBase64().- Parameter:
p_strSpn- The service principal name.- Gibt zurück:
- The base64-encoded Kerberos ticket that is bound to the current thread,
or
nullifisAvailable(String)returnsfalse.
-