OSID Logo
OSID Specifications
authorization rules package
Version 3.1.0
Interfaceosid.authorization.rules.AuthorizationRulesManager
Implementsosid.OsidManager
osid.authorization.rules.AuthorizationRulesProfile
Used Byosid.authorization.AuthorizationManager
Description

The authorization rules manager provides access to authorization rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • AuthorizationEnablerLookupSession: a session to retrieve authorization enablers
  • AuthorizationEnablerQuerySession: a session to query for authorization enablers
  • AuthorizationEnablerSearchSession: a session to search for authorization enablers
  • AuthorizationEnablerAdminSession: a session to create and delete authorization enablers
  • AuthorizationEnablerNotificationSession: a session to receive notifications pertaining to authorization enabler changes
  • AuthorizationEnablerVaultSession: a session to look up authorization enabler vault mappings
  • AuthorizationEnablerVaultAssignmentSession: a session to manage authorization enabler to vault mappings
  • AuthorizationEnablerSmartVaultSession: a session to manage dynamic vaults of authorization enablers
  • AuthorizationEnablerRuleLookupSession: a session to look up authorization enabler to authorization mappings
  • AuthorizationEnablerRuleApplicationSession: a session to assign authorization enablers to authorizations
MethodgetAuthorizationEnablerLookupSession
Description

Gets the OsidSession associated with the authorization enabler lookup service.

Returnosid.authorization.rules.AuthorizationEnablerLookupSession an AuthorizationEnablerLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerLookup() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerLookup() is true.
MethodgetAuthorizationEnablerLookupSessionForVault
Description

Gets the OsidSession associated with the authorization enabler lookup service for the given vault.

Parametersosid.id.IdvaultId the Id of the Vault
Returnosid.authorization.rules.AuthorizationEnablerLookupSession an AuthorizationEnablerLookupSession
ErrorsNOT_FOUND no Vault found by the given Id
NULL_ARGUMENT vaultId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerLookup() and supportsVisibleFederation() are true.
MethodgetAuthorizationEnablerQuerySession
Description

Gets the OsidSession associated with the authorization enabler query service.

Returnosid.authorization.rules.AuthorizationEnablerQuerySession an AuthorizationEnablerQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerQuery() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerQuery() is true.
MethodgetAuthorizationEnablerQuerySessionForVault
Description

Gets the OsidSession associated with the authorization enabler query service for the given vault.

Parametersosid.id.IdvaultId the Id of the Vault
Returnosid.authorization.rules.AuthorizationEnablerQuerySession an AuthorizationEnablerQuerySession
ErrorsNOT_FOUND no Vault found by the given Id
NULL_ARGUMENT vaultId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerQuery() and supportsVisibleFederation() are true.
MethodgetAuthorizationEnablerSearchSession
Description

Gets the OsidSession associated with the authorization enabler search service.

Returnosid.authorization.rules.AuthorizationEnablerSearchSession an AuthorizationEnablerSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerSearch() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerSearch() is true.
MethodgetAuthorizationEnablerSearchSessionForVault
Description

Gets the OsidSession associated with the authorization enablers earch service for the given vault.

Parametersosid.id.IdvaultId the Id of the Vault
Returnosid.authorization.rules.AuthorizationEnablerSearchSession an AuthorizationEnablerSearchSession
ErrorsNOT_FOUND no Vault found by the given Id
NULL_ARGUMENT vaultId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerSearch() and supportsVisibleFederation() are true.
MethodgetAuthorizationEnablerAdminSession
Description

Gets the OsidSession associated with the authorization enabler administration service.

Returnosid.authorization.rules.AuthorizationEnablerAdminSession an AuthorizationEnablerAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerAdmin() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerAdmin() is true.
MethodgetAuthorizationEnablerAdminSessionForVault
Description

Gets the OsidSession associated with the authorization enabler administration service for the given vault.

Parametersosid.id.IdvaultId the Id of the Vault
Returnosid.authorization.rules.AuthorizationEnablerAdminSession an AuthorizationEnablerAdminSession
ErrorsNOT_FOUND no Vault found by the given Id
NULL_ARGUMENT vaultId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerAdmin() and supportsVisibleFederation() are true.
MethodgetAuthorizationEnablerNotificationSession
Description

Gets the OsidSession associated with the authorization enabler notification service.

Parametersosid.authorization.rules.AuthorizationEnablerReceiverauthorizationEnablerReceiver the notification callback
Returnosid.authorization.rules.AuthorizationEnablerNotificationSession an AuthorizationEnablerNotificationSession
ErrorsNULL_ARGUMENT authorizationEnablerReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerNotification() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerNotification() is true.
MethodgetAuthorizationEnablerNotificationSessionForVault
Description

Gets the OsidSession associated with the authorization enabler notification service for the given vault.

Parametersosid.authorization.rules.AuthorizationEnablerReceiverauthorizationEnablerReceiver the notification callback
osid.id.IdvaultId the Id of the Vault
Returnosid.authorization.rules.AuthorizationEnablerNotificationSession an AuthorizationEnablerNotificationSession
ErrorsNOT_FOUND no vault found by the given Id
NULL_ARGUMENT authorizationEnablerReceiver or vaultId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerNotification() and supportsVisibleFederation() are true.
MethodgetAuthorizationEnablerVaultSession
Description

Gets the OsidSession to lookup authorization enabler/vault mappings for authorization enablers.

Returnosid.authorization.rules.AuthorizationEnablerVaultSession an AuthorizationEnablerVaultSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerVault() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerVault() is true.
MethodgetAuthorizationEnablerVaultAssignmentSession
Description

Gets the OsidSession associated with assigning authorization enablers to vaults for authorization.

Returnosid.authorization.rules.AuthorizationEnablerVaultAssignmentSession an AuthorizationEnablerVaultAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerVaultAssignment() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerVaultAssignment() is true.
MethodgetAuthorizationEnablerSmartVaultSession
Description

Gets the OsidSession to manage authorization enabler smart vaults.

Parametersosid.id.IdvaultId the Id of the Vault
Returnosid.authorization.rules.AuthorizationEnablerSmartVaultSession an AuthorizationEnablerSmartVaultSession
ErrorsNOT_FOUND no Vault found by the given Id
NULL_ARGUMENT vaultId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerSmartVault() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerSmartVault() is true.
MethodgetAuthorizationEnablerRuleLookupSession
Description

Gets the OsidSession associated with the authorization enabler authorization mapping lookup service.

Returnosid.authorization.rules.AuthorizationEnablerRuleLookupSession an AuthorizationEnablerRuleLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerRuleLookup() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerRuleLookup() is true.
MethodgetAuthorizationEnablerRuleLookupSessionForVault
Description

Gets the OsidSession associated with the authorization enabler mapping lookup service for the given vault.

Parametersosid.id.IdvaultId the Id of the Vault
Returnosid.authorization.rules.AuthorizationEnablerRuleLookupSession an AuthorizationEnablerRuleLookupSession
ErrorsNOT_FOUND no Vault found by the given Id
NULL_ARGUMENT vaultId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerRuleLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerRuleLookup() and supportsVisibleFederation() are true.
MethodgetAuthorizationEnablerRuleApplicationSession
Description

Gets the OsidSession associated with the authorization enabler assignment service to apply enablers to vaults.

Returnosid.authorization.rules.AuthorizationEnablerRuleApplicationSession an AuthorizationEnablerRuleApplicationSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerRuleApplication() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerRuleApplication() is true.
MethodgetAuthorizationEnablerRuleApplicationSessionForVault
Description

Gets the OsidSession associated with the authorization enabler assignment service for the given vault to apply enablers to vaults.

Parametersosid.id.IdvaultId the Id of the Vault
Returnosid.authorization.rules.AuthorizationEnablerRuleApplicationSession an AuthorizationEnablerRuleApplicationSession
ErrorsNOT_FOUND no Vault found by the given Id
NULL_ARGUMENT vaultId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsAuthorizationEnablerRuleApplication() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsAuthorizationEnablerRuleApplication() and supportsVisibleFederation() are true