SiteMinder
Java SDK r12.51


com.netegrity.policyserver.smapi
Class ActiveExpressionContext

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

public class ActiveExpressionContext
extends java.lang.Object

Contains the various context classes passed to the method invoke() in the custom authorization class.

Since:
SDK 6.0

Method Summary
 APIContext getAPIContext()
          Retrieves the APIContext portion of this ActiveExpressionContext.
 RequestContext getRequestContext()
          Retrieves the RequestContext portion of this ActiveExpressionContext.
static java.util.ResourceBundle getResourceBundle()
          Internal use only.
 SMAPIFactory getSMAPIFactory()
          Internal use only.
 UserContext getUserContext()
          Retrieves the UserContext portion of this ActiveExpressionContext.
static void main(java.lang.String[] args)
          Internal use only.
 void setErrorText(java.lang.String errorText)
          Sets the error text response for this ActiveExpressionContext.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAPIContext

public APIContext getAPIContext()

Retrieves the APIContext portion of this ActiveExpressionContext.

The API context object lets you retrieve an AppSpecificContext object. It also provides methods for sending log, trace, and error messages to the Policy Server.

Returns:
The APIContext object.

getUserContext

public UserContext getUserContext()

Retrieves the UserContext portion of this ActiveExpressionContext.

The user context object includes user attributes and directory attributes associated with the user's entry in the user directory.

Returns:
The UserContext object.

getRequestContext

public RequestContext getRequestContext()

Retrieves the RequestContext portion of this ActiveExpressionContext.

The request context object provides information about the user’s access request-- for example, the server or resource portion of the request.

Returns:
The RequestContext object.

getSMAPIFactory

public SMAPIFactory getSMAPIFactory()
Internal use only.


setErrorText

public void setErrorText(java.lang.String errorText)

Sets the error text response for this ActiveExpressionContext. Use this method to send an error message to the Policy Server.

The Active Expression returns false when this method is called within the Active Expression.

Parameters:
errorText - The error text.

getResourceBundle

public static java.util.ResourceBundle getResourceBundle()
Internal use only.


main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Internal use only.

Throws:
java.lang.Exception

SiteMinder
Java SDK r12.51

Mon 04/08/2013

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