BEA Systems, Inc.

BEA AquaLogic Enterprise Security Provider SSPI 2.5 API Reference

com.bea.security.spi
Class AccessResponse

java.lang.Object
  |
  +--com.bea.security.spi.AccessResponse
Direct Known Subclasses:
SimpleAccessResponse

public abstract class AccessResponse
extends java.lang.Object

This base class is used by authorization providers to return additional authorization data when requested. See AccessResponseCollector for additional information regarding extended authorization data. The AccessResponse object may contain a number of response context handlers which can be used to return arbitrary data to the caller. SimpleAccessResponse provides a simple implementation of this abstract class.

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
AccessResponse()
           
 
Method Summary
abstract  java.lang.String getAccessDecisionClassName()
          Get AccessDecision (provider) class name.
abstract  ContextHandler[] getResponseContexts()
          Gets the provider supplied extended response data.
abstract  Result getResult()
          Gets the authorization result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessResponse

public AccessResponse()
Method Detail

getAccessDecisionClassName

public abstract java.lang.String getAccessDecisionClassName()
Get AccessDecision (provider) class name.

Returns:
The class name of the access decision.

getResult

public abstract Result getResult()
Gets the authorization result.

Returns:
The authorization result as returned by the provider.

getResponseContexts

public abstract ContextHandler[] getResponseContexts()
Gets the provider supplied extended response data. This data is provided as a series of response ContextHandler objects.

Returns:
An array of ContextHandler objects containing response data, or null if none exists.

Documentation is available at
http://download.oracle.com/docs/cd/E13169_01/ales/docs25