com.metamatrix.dqp.service
Interface AuthorizationService
- All Superinterfaces:
- ApplicationService, SecurityFunctionEvaluator
- All Known Implementing Classes:
- PlatformAuthorizationService
public interface AuthorizationService
- extends ApplicationService, SecurityFunctionEvaluator
This service provides a means to check whether a connection is authorized to access
various data resources.
Method Summary |
boolean |
checkingEntitlements()
Determine whether entitlements checking is enabled on the server. |
java.util.Collection |
getInaccessibleResources(java.lang.String connectionID,
int action,
java.util.Collection resources,
int context)
Determine which of a set of resources a connection does not have permission to
perform the specified action. |
ACTION_READ
static final int ACTION_READ
- See Also:
- Constant Field Values
ACTION_CREATE
static final int ACTION_CREATE
- See Also:
- Constant Field Values
ACTION_UPDATE
static final int ACTION_UPDATE
- See Also:
- Constant Field Values
ACTION_DELETE
static final int ACTION_DELETE
- See Also:
- Constant Field Values
CONTEXT_QUERY
static final int CONTEXT_QUERY
- See Also:
- Constant Field Values
CONTEXT_INSERT
static final int CONTEXT_INSERT
- See Also:
- Constant Field Values
CONTEXT_UPDATE
static final int CONTEXT_UPDATE
- See Also:
- Constant Field Values
CONTEXT_DELETE
static final int CONTEXT_DELETE
- See Also:
- Constant Field Values
CONTEXT_PROCEDURE
static final int CONTEXT_PROCEDURE
- See Also:
- Constant Field Values
DEFAULT_WSDL_USERNAME
static final java.lang.String DEFAULT_WSDL_USERNAME
- See Also:
- Constant Field Values
getInaccessibleResources
java.util.Collection getInaccessibleResources(java.lang.String connectionID,
int action,
java.util.Collection resources,
int context)
throws MetaMatrixComponentException
- Determine which of a set of resources a connection does not have permission to
perform the specified action.
- Parameters:
connectionID
- Connection ID identifying the connection (and thus the user credentials)action
- Action connection wishes to performresources
- Resources the connection wishes to perform the action on, Collection of Stringcontext
- Auditing context
- Returns:
- Collection Subset of resources
- Throws:
MetaMatrixComponentException
- If an error occurs in the service while checking resources
checkingEntitlements
boolean checkingEntitlements()
- Determine whether entitlements checking is enabled on the server.
- Returns:
true
iff server-side entitlements checking is enabled.
Copyright © 2009. All Rights Reserved.