SiteMinder
Java SDK r12.51


com.netegrity.policyserver.smapi
Class AppSpecificContext

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

public class AppSpecificContext
extends java.lang.Object

Provides methods that allow custom authentication and authorization objects to share information associated with the current request.

Information shared through AppSpecificContext has request-only scope. For example, a custom object running in the context of an authentication request cannot exchange information with an object running in the context of an authorization request.

Since:
SDK 6.0

Method Summary
 byte[] getData()
          Retrieves the request-specific data previously set with setData().
 void setData(byte[] data)
          Sets the request-specific data to share.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getData

public byte[] getData()
               throws SmJavaApiException

Retrieves the request-specific data previously set with setData().

Returns:
The previously set request-specific data, or an empty array if no data exists.
Throws:
SmJavaApiException

setData

public void setData(byte[] data)
             throws SmJavaApiException

Sets the request-specific data to share. The request-specific data will be resized to match the size of the input array.

Parameters:
data - The array of data to include in the request-specific context.
Throws:
SmJavaApiException

SiteMinder
Java SDK r12.51

Mon 04/08/2013

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