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 Stringget()CallsThreadContext.getAccountName().static booleanisAvailable()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:
trueif an account name is available in the current thread, orfalseotherwise.
-
get
public static String get()
CallsThreadContext.getAccountName().- Returns:
- The account name that is bound to the current thread, or
nullifisAvailable()returnsfalse.
-
-