|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.iaccess.CredentialManager.UserProfile
public class UserProfile
Keeps information of users/opponents active credentials. Provides necessary methods for retrieving profile information.
TSessionInfo
Constructor Summary | |
---|---|
UserProfile()
|
Method Summary | |
---|---|
static boolean |
containts(java.lang.String credential,
long sessionValidNotAfter)
Checks if a user credential exists in the user profile, and if the user credential has validity longer than a current session expiration time. |
static boolean |
containts(java.lang.String identity,
java.lang.String credential)
Checks if a user credential exists in the user profile. |
static java.util.Vector |
getCredentials(java.lang.String identity)
Returns the current set of active/presented credentials of a given identity. |
static java.util.Vector |
getCredentials(java.lang.String identity,
long sessionValidNotAfter)
Returns a set of presented credentials of a given identity (logic level format) but valid for a current session time validity. |
static java.lang.String |
getEntityLogicIDCredOfSSL(java.lang.String identity)
Returns an identity credential (logic format) of an SSL identity token from a given user identity. |
static java.lang.String |
getX500Name(java.lang.String Identity)
Looks up in the hashtable to find the X500 Name of the given logic identity. |
static void |
updateOngoingProfile(java.lang.String identity,
java.lang.String credential)
Updates a user profile given a user identity and a user credential. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserProfile()
Method Detail |
---|
public static void updateOngoingProfile(java.lang.String identity, java.lang.String credential)
public static boolean containts(java.lang.String identity, java.lang.String credential)
identity
- a user identitycredential
- a user credential of a negotiaiton level format (id,issuer or id,attribute,issuer)
public static boolean containts(java.lang.String credential, long sessionValidNotAfter)
credential
- a user credential of a negotiaiton level format (id,issuer or id,attribute,issuer)sessionValidNotAfter
- a current session espiration time
public static java.lang.String getEntityLogicIDCredOfSSL(java.lang.String identity)
On each SSL connection establishment by an opponent, its SSL logic identity token is stored.
If "john_couk" identity is given, the function would return "john_couk,california_state_ca".
We assume the use uses a single identity token (for SSL) during a negotiation process.
identity
- logic level identity
public static java.util.Vector getCredentials(java.lang.String identity)
public static java.util.Vector getCredentials(java.lang.String identity, long sessionValidNotAfter)
public static java.lang.String getX500Name(java.lang.String Identity)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |