SiteMinder
Java SDK r12.5


netegrity.siteminder.javaagent
Class ServiceSession

java.lang.Object
  extended by netegrity.siteminder.javaagent.SessionDef
      extended by netegrity.siteminder.javaagent.ServiceSession

public class ServiceSession
extends SessionDef

Holds information needed to describe an impersonated user's session in the Agent API.

Since:
SiteMinder 12.5

Field Summary
static int SESSION_TYPE_ADMIN
           
static int SESSION_TYPE_IDENTITY
           
static int SESSION_TYPE_SESSION
           
 
Fields inherited from class netegrity.siteminder.javaagent.SessionDef
currentServerTime, id, idleTimeout, maxTimeout, reason, sessionLastTime, sessionStartTime, spec
 
Constructor Summary
ServiceSession()
           
 
Method Summary
 void addEndUserAttribute(int id, java.lang.String value)
          Adds a end user attribute.
 java.util.Map getAllEndUserAttributes()
           
 java.lang.String[] getEndUserAttribute(int id)
          Gets the values of a end user attribute.
 int[] getEndUserAttrIDs()
          Gets the array of end user attribute IDs.
 void setAllEndUserAttributes(java.util.Map attrs)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SESSION_TYPE_IDENTITY

public static final int SESSION_TYPE_IDENTITY
See Also:
Constant Field Values

SESSION_TYPE_SESSION

public static final int SESSION_TYPE_SESSION
See Also:
Constant Field Values

SESSION_TYPE_ADMIN

public static final int SESSION_TYPE_ADMIN
See Also:
Constant Field Values
Constructor Detail

ServiceSession

public ServiceSession()
Method Detail

addEndUserAttribute

public void addEndUserAttribute(int id,
                                java.lang.String value)
Adds a end user attribute.

Parameters:
id - The attribute's ID.
value - The attribute's value.

getEndUserAttribute

public java.lang.String[] getEndUserAttribute(int id)
Gets the values of a end user attribute.

Parameters:
id - The attribute's ID.
Returns:
The array of the attribute's values.

getEndUserAttrIDs

public int[] getEndUserAttrIDs()
Gets the array of end user attribute IDs.

Returns:
The array of end user attribute IDs.

getAllEndUserAttributes

public java.util.Map getAllEndUserAttributes()

setAllEndUserAttributes

public void setAllEndUserAttributes(java.util.Map attrs)

SiteMinder
Java SDK r12.5

Thu 09/08/2011

http://ca.com
Copyright (c) 2011 CA.