Interface AuthorizationRulesManager
- All Superinterfaces:
AuthorizationRulesProfile, AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable
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
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the authorization enabler administration service.Gets theOsidSessionassociated with the authorization enabler administration service for the given vault.Gets theOsidSessionassociated with the authorization enabler lookup service.Gets theOsidSessionassociated with the authorization enabler lookup service for the given vault.getAuthorizationEnablerNotificationSession(AuthorizationEnablerReceiver authorizationEnablerReceiver) Gets theOsidSessionassociated with the authorization enabler notification service.getAuthorizationEnablerNotificationSessionForVault(AuthorizationEnablerReceiver authorizationEnablerReceiver, Id vaultId) Gets theOsidSessionassociated with the authorization enabler notification service for the given vault.Gets theOsidSessionassociated with the authorization enabler query service.Gets theOsidSessionassociated with the authorization enabler query service for the given vault.Gets theOsidSessionassociated with the authorization enabler assignment service to apply enablers to vaults.Gets theOsidSessionassociated with the authorization enabler assignment service for the given vault to apply enablers to vaults.Gets theOsidSessionassociated with the authorization enabler authorization mapping lookup service.Gets theOsidSessionassociated with the authorization enabler mapping lookup service for the given vault.Gets theOsidSessionassociated with the authorization enabler search service.Gets theOsidSessionassociated with the authorization enablers earch service for the given vault.Gets theOsidSessionto manage authorization enabler smart vaults.Gets theOsidSessionassociated with assigning authorization enablers to vaults for authorization.Gets theOsidSessionto lookup authorization enabler/vault mappings for authorization enablers.Methods inherited from interface AuthorizationRulesProfile
getAuthorizationEnablerRecordTypes, getAuthorizationEnablerSearchRecordTypes, supportsAuthorizationEnablerAdmin, supportsAuthorizationEnablerLookup, supportsAuthorizationEnablerNotification, supportsAuthorizationEnablerQuery, supportsAuthorizationEnablerRecordType, supportsAuthorizationEnablerRuleApplication, supportsAuthorizationEnablerRuleLookup, supportsAuthorizationEnablerSearch, supportsAuthorizationEnablerSearchRecordType, supportsAuthorizationEnablerSmartVault, supportsAuthorizationEnablerVault, supportsAuthorizationEnablerVaultAssignment, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedAuthorizationEnablerrecord types.Gets the supportedAuthorizationEnablersearch record types.booleanTests if an authorization enabler administrative service is supported.booleanTests if looking up authorization enablers is supported.booleanTests if an authorization enabler notification service is supported.booleanTests if querying authorization enablers is supported.booleansupportsAuthorizationEnablerRecordType(Type authorizationEnablerRecordType) Tests if the givenAuthorizationEnablerrecord type is supported.booleanTests if an authorization enabler authorization rule application service is supported.booleanTests if an authorization enabler authorization rule lookup service is supported.booleanTests if searching authorization enablers is supported.booleansupportsAuthorizationEnablerSearchRecordType(Type authorizationEnablerSearchRecordType) Tests if the givenAuthorizationEnablersearch record type is supported.booleanTests if an authorization enabler vault lookup service is supported.booleanTests if an authorization enabler vault lookup service is supported.booleanTests if an authorization enabler vault service is supported.booleanTests if any broker federation is exposed.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getAuthorizationEnablerLookupSession
AuthorizationEnablerLookupSession getAuthorizationEnablerLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the authorization enabler lookup service.- Returns:
- an
AuthorizationEnablerLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerLookup()} is {@code true} .
-
getAuthorizationEnablerLookupSessionForVault
AuthorizationEnablerLookupSession getAuthorizationEnablerLookupSessionForVault(Id vaultId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler lookup service for the given vault.- Parameters:
vaultId- theIdof theVault- Returns:
- an
AuthorizationEnablerLookupSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAuthorizationEnablerQuerySession
AuthorizationEnablerQuerySession getAuthorizationEnablerQuerySession() throws OperationFailedExceptionGets theOsidSessionassociated with the authorization enabler query service.- Returns:
- an
AuthorizationEnablerQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerQuery()} is {@code true} .
-
getAuthorizationEnablerQuerySessionForVault
AuthorizationEnablerQuerySession getAuthorizationEnablerQuerySessionForVault(Id vaultId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler query service for the given vault.- Parameters:
vaultId- theIdof theVault- Returns:
- an
AuthorizationEnablerQuerySession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAuthorizationEnablerSearchSession
AuthorizationEnablerSearchSession getAuthorizationEnablerSearchSession() throws OperationFailedExceptionGets theOsidSessionassociated with the authorization enabler search service.- Returns:
- an
AuthorizationEnablerSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerSearch()} is {@code true} .
-
getAuthorizationEnablerSearchSessionForVault
AuthorizationEnablerSearchSession getAuthorizationEnablerSearchSessionForVault(Id vaultId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enablers earch service for the given vault.- Parameters:
vaultId- theIdof theVault- Returns:
- an
AuthorizationEnablerSearchSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAuthorizationEnablerAdminSession
AuthorizationEnablerAdminSession getAuthorizationEnablerAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the authorization enabler administration service.- Returns:
- an
AuthorizationEnablerAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerAdmin()} is {@code true} .
-
getAuthorizationEnablerAdminSessionForVault
AuthorizationEnablerAdminSession getAuthorizationEnablerAdminSessionForVault(Id vaultId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler administration service for the given vault.- Parameters:
vaultId- theIdof theVault- Returns:
- an
AuthorizationEnablerAdminSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAuthorizationEnablerNotificationSession
AuthorizationEnablerNotificationSession getAuthorizationEnablerNotificationSession(AuthorizationEnablerReceiver authorizationEnablerReceiver) throws OperationFailedException Gets theOsidSessionassociated with the authorization enabler notification service.- Parameters:
authorizationEnablerReceiver- the notification callback- Returns:
- an
AuthorizationEnablerNotificationSession - Throws:
NullArgumentException-authorizationEnablerReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerNotification()} is {@code true} .
-
getAuthorizationEnablerNotificationSessionForVault
AuthorizationEnablerNotificationSession getAuthorizationEnablerNotificationSessionForVault(AuthorizationEnablerReceiver authorizationEnablerReceiver, Id vaultId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler notification service for the given vault.- Parameters:
authorizationEnablerReceiver- the notification callbackvaultId- theIdof theVault- Returns:
- an
AuthorizationEnablerNotificationSession - Throws:
NotFoundException- no vault found by the givenIdNullArgumentException-authorizationEnablerReceiverorvaultIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAuthorizationEnablerVaultSession
AuthorizationEnablerVaultSession getAuthorizationEnablerVaultSession() throws OperationFailedExceptionGets theOsidSessionto lookup authorization enabler/vault mappings for authorization enablers.- Returns:
- an
AuthorizationEnablerVaultSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerVault()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerVault()} is {@code true} .
-
getAuthorizationEnablerVaultAssignmentSession
AuthorizationEnablerVaultAssignmentSession getAuthorizationEnablerVaultAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning authorization enablers to vaults for authorization.- Returns:
- an
AuthorizationEnablerVaultAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerVaultAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerVaultAssignment()} is {@code true} .
-
getAuthorizationEnablerSmartVaultSession
AuthorizationEnablerSmartVaultSession getAuthorizationEnablerSmartVaultSession(Id vaultId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage authorization enabler smart vaults.- Parameters:
vaultId- theIdof theVault- Returns:
- an
AuthorizationEnablerSmartVaultSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerSmartVault()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerSmartVault()} is {@code true} .
-
getAuthorizationEnablerRuleLookupSession
AuthorizationEnablerRuleLookupSession getAuthorizationEnablerRuleLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the authorization enabler authorization mapping lookup service.- Returns:
- an
AuthorizationEnablerRuleLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerRuleLookup()} is {@code true} .
-
getAuthorizationEnablerRuleLookupSessionForVault
AuthorizationEnablerRuleLookupSession getAuthorizationEnablerRuleLookupSessionForVault(Id vaultId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler mapping lookup service for the given vault.- Parameters:
vaultId- theIdof theVault- Returns:
- an
AuthorizationEnablerRuleLookupSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerRuleLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerRuleLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAuthorizationEnablerRuleApplicationSession
AuthorizationEnablerRuleApplicationSession getAuthorizationEnablerRuleApplicationSession() throws OperationFailedExceptionGets theOsidSessionassociated with the authorization enabler assignment service to apply enablers to vaults.- Returns:
- an
AuthorizationEnablerRuleApplicationSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerRuleApplication()} is {@code true} .
-
getAuthorizationEnablerRuleApplicationSessionForVault
AuthorizationEnablerRuleApplicationSession getAuthorizationEnablerRuleApplicationSessionForVault(Id vaultId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler assignment service for the given vault to apply enablers to vaults.- Parameters:
vaultId- theIdof theVault- Returns:
- an
AuthorizationEnablerRuleApplicationSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true}
-