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-2008, Oracle and/or its affiliates. All rights reserved.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AccessResponse
public AccessResponse()
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.