OSID Logo
OSID Specifications
authorization rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.authorization.rules.AuthorizationEnabler
Implementsosid.OsidEnabler
Description

An AuthorizationEnabler describes the rules for making Authorizations effective.

MethodgetAuthorizationEnablerRecord
Description

Gets the authorization enabler record corresponding to the given AuthorizationEnabler record Type. This method is used to retrieve an object implementing the requested record. The authorizationEnablerRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(authorizationEnablerRecordType) is true .

Parametersosid.type.TypeauthorizationEnablerRecordTypethe type of authorization enabler record to retrieve
Returnosid.authorization.rules.records.AuthorizationEnablerRecordthe authorization enabler record
ErrorsNULL_ARGUMENT authorizationEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(authorizationEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.