SiteMinder
Java SDK r12.51


com.netegrity.policyserver.smapi
Class SessionVariableContext

java.lang.Object
  extended by com.netegrity.policyserver.smapi.SessionVariableContext

public class SessionVariableContext
extends java.lang.Object

This class is for internal use only.


Constructor Summary
SessionVariableContext(ActiveExpressionContext ctxt)
          Constructor
SessionVariableContext(long lpSMInterface)
          Constructor
 
Method Summary
 void close()
          Releases native resources after finish using this object; only intended to be called as cleanup
 boolean deleteSessionVariable(java.lang.String varName)
          Deletes the given Session Variable
 java.lang.String getSessionVariable(java.lang.String varName)
          Gets Session Variable value for a given Session Variable
 boolean setSessionVariable(java.lang.String varName, java.lang.String varValue)
          Sets the given value to the passed Session Variable
 boolean setSessionVariableEx(java.lang.String varName, java.lang.String varValue, long flags)
          Sets the given value to the passed Session Variable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionVariableContext

public SessionVariableContext(long lpSMInterface)
Constructor


SessionVariableContext

public SessionVariableContext(ActiveExpressionContext ctxt)
Constructor

Method Detail

getSessionVariable

public java.lang.String getSessionVariable(java.lang.String varName)
                                    throws NativeCallbackError
Gets Session Variable value for a given Session Variable

Parameters:
varName - the Variable name
Returns:
the Session Variable value
Throws:
NativeCallbackError

setSessionVariable

public boolean setSessionVariable(java.lang.String varName,
                                  java.lang.String varValue)
                           throws NativeCallbackError
Sets the given value to the passed Session Variable

Parameters:
varName - the Variable name
varValue - the variable value
Returns:
true or false.
Throws:
NativeCallbackError

setSessionVariableEx

public boolean setSessionVariableEx(java.lang.String varName,
                                    java.lang.String varValue,
                                    long flags)
                             throws NativeCallbackError
Sets the given value to the passed Session Variable

Parameters:
varName - the Variable name
varValue - the variable value
flags - set of flags that can affect the set operation
Returns:
true or false.
Throws:
NativeCallbackError

deleteSessionVariable

public boolean deleteSessionVariable(java.lang.String varName)
                              throws NativeCallbackError
Deletes the given Session Variable

Parameters:
varName - the Variable name
Returns:
true or false depending on whether delete operation succeded or not
Throws:
NativeCallbackError

close

public void close()
Releases native resources after finish using this object; only intended to be called as cleanup


SiteMinder
Java SDK r12.51

Mon 04/08/2013

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