Interface AuthorizationRulesProxyManager
- All Superinterfaces:
AuthorizationRulesProfile, AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The authorization rules proxy manager provides access to authorization
rules sessions and provides interoperability tests for various aspects of
this service. Methods in this manager pass a Proxy for passing
information from server environments. 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.getAuthorizationEnablerAdminSessionForVault(Id vaultId, Proxy proxy) Gets theOsidSessionassociated with the authorization enabler administration service for the given vault.Gets theOsidSessionassociated with the authorization enabler lookup service.getAuthorizationEnablerLookupSessionForVault(Id vaultId, Proxy proxy) Gets theOsidSessionassociated with the authorization enabler lookup service for the given vault.getAuthorizationEnablerNotificationSession(AuthorizationEnablerReceiver authorizationEnablerReceiver, Proxy proxy) Gets theOsidSessionassociated with the authorization enabler notification service.getAuthorizationEnablerNotificationSessionForVault(AuthorizationEnablerReceiver authorizationEnablerReceiver, Id vaultId, Proxy proxy) Gets theOsidSessionassociated with the authorization enabler notification service for the given vault.Gets theOsidSessionassociated with the authorization enabler query service.getAuthorizationEnablerQuerySessionForVault(Id vaultId, Proxy proxy) Gets theOsidSessionassociated with the authorization enabler query service for the given vault.Gets theOsidSessionassociated with the authorization enabler authorization assignment service.getAuthorizationEnablerRuleApplicationSessionForVault(Id vaultId, Proxy proxy) Gets theOsidSessionassociated with the authorization enabler authorization assignment service for the given vault.Gets theOsidSessionassociated with the authorization enabler mapping lookup service for looking up the rules applied to the vault.getAuthorizationEnablerRuleLookupSessionForVault(Id vaultId, Proxy proxy) Gets theOsidSessionassociated with the authorization enabler authorization mapping lookup service for the given vault.Gets theOsidSessionassociated with the authorization enabler search service.getAuthorizationEnablerSearchSessionForVault(Id vaultId, Proxy proxy) Gets theOsidSessionassociated with the authorization enablers earch service for the given vault.getAuthorizationEnablerSmartVaultSession(Id vaultId, Proxy proxy) 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 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 OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.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(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the authorization enabler lookup service.- Parameters:
proxy- a proxy- Returns:
- an
AuthorizationEnablerLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerLookup()} is {@code true} .
-
getAuthorizationEnablerLookupSessionForVault
AuthorizationEnablerLookupSession getAuthorizationEnablerLookupSessionForVault(Id vaultId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler lookup service for the given vault.- Parameters:
vaultId- theIdof theVaultproxy- a proxy- Returns:
- an
AuthorizationEnablerLookupSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultId or proxy is nullOperationFailedException- 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(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the authorization enabler query service.- Parameters:
proxy- a proxy- Returns:
- an
AuthorizationEnablerQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerQuery()} is {@code true} .
-
getAuthorizationEnablerQuerySessionForVault
AuthorizationEnablerQuerySession getAuthorizationEnablerQuerySessionForVault(Id vaultId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler query service for the given vault.- Parameters:
vaultId- theIdof theVaultproxy- a proxy- Returns:
- an
AuthorizationEnablerQuerySession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultId or proxy is nullOperationFailedException- 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(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the authorization enabler search service.- Parameters:
proxy- a proxy- Returns:
- an
AuthorizationEnablerSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerSearch()} is {@code true} .
-
getAuthorizationEnablerSearchSessionForVault
AuthorizationEnablerSearchSession getAuthorizationEnablerSearchSessionForVault(Id vaultId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enablers earch service for the given vault.- Parameters:
vaultId- theIdof theVaultproxy- a proxy- Returns:
- an
AuthorizationEnablerSearchSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultId or proxy is nullOperationFailedException- 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(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the authorization enabler administration service.- Parameters:
proxy- a proxy- Returns:
- an
AuthorizationEnablerAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerAdmin()} is {@code true} .
-
getAuthorizationEnablerAdminSessionForVault
AuthorizationEnablerAdminSession getAuthorizationEnablerAdminSessionForVault(Id vaultId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler administration service for the given vault.- Parameters:
vaultId- theIdof theVaultproxy- a proxy- Returns:
- an
AuthorizationEnablerAdminSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultId or proxy is nullOperationFailedException- 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, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the authorization enabler notification service.- Parameters:
authorizationEnablerReceiver- the notification callbackproxy- a proxy- Returns:
- an
AuthorizationEnablerNotificationSession - Throws:
NullArgumentException-authorizationEnablerReceiverorproxyisnullOperationFailedException- 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, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler notification service for the given vault.- Parameters:
authorizationEnablerReceiver- the notification callbackvaultId- theIdof theVaultproxy- a proxy- Returns:
- an
AuthorizationEnablerNotificationSession - Throws:
NotFoundException- no vault found by the givenIdNullArgumentException-authorizationEnablerReceiver, vaultIdorproxyisnullOperationFailedException- 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(Proxy proxy) throws OperationFailedException Gets theOsidSessionto lookup authorization enabler/vault mappings for authorization enablers.- Parameters:
proxy- a proxy- Returns:
- an
AuthorizationEnablerVaultSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerVault()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerVault()} is {@code true} .
-
getAuthorizationEnablerVaultAssignmentSession
AuthorizationEnablerVaultAssignmentSession getAuthorizationEnablerVaultAssignmentSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with assigning authorization enablers to vaults for authorization.- Parameters:
proxy- a proxy- Returns:
- an
AuthorizationEnablerVaultAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerVaultAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerVaultAssignment()} is {@code true} .
-
getAuthorizationEnablerSmartVaultSession
AuthorizationEnablerSmartVaultSession getAuthorizationEnablerSmartVaultSession(Id vaultId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage authorization enabler smart vaults.- Parameters:
vaultId- theIdof theVaultproxy- a proxy- Returns:
- an
AuthorizationEnablerSmartVaultSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerSmartVault()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerSmartVault()} is {@code true} .
-
getAuthorizationEnablerRuleLookupSession
AuthorizationEnablerRuleLookupSession getAuthorizationEnablerRuleLookupSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the authorization enabler mapping lookup service for looking up the rules applied to the vault.- Parameters:
proxy- a proxy- Returns:
- an
AuthorizationEnablerRuleLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerAuthorizationRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerRuleLookup()} is {@code true} .
-
getAuthorizationEnablerRuleLookupSessionForVault
AuthorizationEnablerRuleLookupSession getAuthorizationEnablerRuleLookupSessionForVault(Id vaultId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler authorization mapping lookup service for the given vault.- Parameters:
vaultId- theIdof theVaultproxy- a proxy- Returns:
- an
AuthorizationEnablerRuleLookupSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultIdorproxyisnullOperationFailedException- 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(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the authorization enabler authorization assignment service.- Parameters:
proxy- a proxy- Returns:
- an
AuthorizationEnablernRuleApplicationSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerRuleApplication()} is {@code true} .
-
getAuthorizationEnablerRuleApplicationSessionForVault
AuthorizationEnablerRuleApplicationSession getAuthorizationEnablerRuleApplicationSessionForVault(Id vaultId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the authorization enabler authorization assignment service for the given vault.- Parameters:
vaultId- theIdof theVaultproxy- a proxy- Returns:
- an
AuthorizationEnablerRuleApplicationSession - Throws:
NotFoundException- noVaultfound by the givenIdNullArgumentException-vaultIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAuthorizationEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthorizationEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true} .
-