|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.orb.csiv2.CSIClientContext
public final class CSIClientContext
This class provides methods that are called in the context of a client-side request.
Method Summary | |
---|---|
static java.lang.String |
getUserIdentity()
Return the identity of the current user. |
static java.lang.String |
getUserName()
Return the name of the current user. |
static char[] |
getUserPassword()
Return the password of the current user. |
static void |
setDefaultIdentity(java.lang.String id)
Set the default user's identity. |
static void |
setDefaultUser(java.lang.String name,
java.lang.String pwd)
Set the default user that is to be used when no thread-local user has been set. |
static void |
setUser(java.lang.String name,
java.lang.String pwd)
Set the thread-local user. |
static void |
setUserIdentity(java.lang.String name,
java.lang.String id)
Set the thread-local user's identity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setDefaultUser(java.lang.String name, java.lang.String pwd)
name
- The name of the default user.pwd
- The password of the default user.public static void setDefaultIdentity(java.lang.String id)
id
- The identity of the default user.public static void setUser(java.lang.String name, java.lang.String pwd)
name
- The name of the user.pwd
- The password of the user.public static void setUserIdentity(java.lang.String name, java.lang.String id)
name
- The name of the user.id
- The identity of the user.public static java.lang.String getUserName()
public static char[] getUserPassword()
public static java.lang.String getUserIdentity()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |