wt.adapter
Class WebjectUser
java.lang.Object
wt.adapter.WebjectUser
- public class WebjectUser
- extends Object
Method Summary |
static String |
getUser(Webject webject)
Determine the highest priority user string under which to execute
the current instance of a webject, and validate the username and
credentials. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTH_CACHE_TTL
private static long AUTH_CACHE_TTL
AUTH_URL
private static String AUTH_URL
VERBOSE
private static boolean VERBOSE
cache
private static Hashtable cache
WebjectUser
public WebjectUser()
getUser
public static String getUser(Webject webject)
throws WTException
- Determine the highest priority user string under which to execute
the current instance of a webject, and validate the username and
credentials.
- Parameters:
webject
- the current webject object
- Returns:
- String the best choice for user
- Throws:
WTException