Package de.uplanet.lucy.server.kerberos
Class AccountName
- java.lang.Object
-
- de.uplanet.lucy.server.kerberos.AccountName
-
@Scriptable public final class AccountName extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
get()
CallsThreadContext.getAccountName()
.static boolean
isAvailable()
Checks if an account name is available in the current thread.
-
-
-
Method Detail
-
isAvailable
public static boolean isAvailable()
Checks if an account name is available in the current thread.- Returns:
true
if an account name is available in the current thread, orfalse
otherwise.
-
get
public static String get()
CallsThreadContext.getAccountName()
.- Returns:
- The account name that is bound to the current thread, or
null
ifisAvailable()
returnsfalse
.
-
-