Class AccountName

java.lang.Object
de.uplanet.lucy.server.kerberos.AccountName

@Scriptable public final class AccountName extends Object
  • Method Details

    • 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, or false otherwise.
    • get

      public static String get()
      Calls ThreadContext.getAccountName().
      Returns:
      The account name that is bound to the current thread, or null if isAvailable() returns false.