de.uplanet.lucy.server.kerberos
Class AccountName

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

@Scriptable
public final class AccountName
extends java.lang.Object

Version:
$Revision: 87271 $

Method Summary
static java.lang.String get()
          Calls ThreadContext.getAccountName().
static boolean isAvailable()
          Checks if an account name is available in the current thread.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

get

public static java.lang.String get()
Calls ThreadContext.getAccountName().

Returns:
The account name that is bound to the current thread, or null if isAvailable() returns false.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.