OSID Logo
OSID Specifications
authentication keys package
Version 3.1.0
Interfaceosid.authentication.keys.AuthenticationKeysManager
Implementsosid.OsidManager
osid.authentication.keys.AuthenticationKeysProfile
Used Byosid.authentication.AuthenticationManager
Description

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

  • KeyLookupSession: a session to access the keys of Agents
  • KeyQuerySession: a session to query keys
  • KeySearchSession: a session to search for keys
  • KeyAdminSession: a session to update the keys of Agents
  • KeyNotificationSession: a session to receive messages pertaining to Key changes
  • KeyAgencySession: a session to retrieve Key to Agency mappings
  • KeyAgencyAssignmentSession: a session to manage Key to Agency mappings
  • KeySmartAgencySession: a session to create dynamic agencies of keys
MethodgetKeyLookupSession
Description

Gets the OsidSession associated with the key lookup service.

Returnosid.authentication.keys.KeyLookupSession a KeyLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeyLookup() is false
Complianceoptional This method must be implemented if supportsKeyLookup() is true.
MethodgetKeyLookupSessionForAgency
Description

Gets the OsidSession associated with the key lookup service for the given agency.

Parametersosid.id.IdagencyId the Id of the agency
Returnosid.authentication.keys.KeyLookupSession a KeyLookupSession
ErrorsNOT_FOUND agencyId not found
NULL_ARGUMENT agencyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeyLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsKeyLookup() and supportsVisibleFederation() are true.
MethodgetKeySearchSession
Description

Gets the OsidSession associated with the key search service.

Returnosid.authentication.keys.KeySearchSession a KeySearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeySearch() is false
Complianceoptional This method must be implemented if supportsKeySearch() is true.
MethodgetKeySearchSessionForAgency
Description

Gets the OsidSession associated with the key search service for the given agency.

Parametersosid.id.IdagencyId the Id of the agency
Returnosid.authentication.keys.KeySearchSession a KeySearchSession
ErrorsNOT_FOUND agencyId not found
NULL_ARGUMENT agencyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeySearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsKeySearch() and supportsVisibleFederation() are true.
MethodgetKeyAdminSession
Description

Gets the OsidSession associated with the key administration service.

Returnosid.authentication.keys.KeyAdminSession a KeyAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeyAdmin() is false
Complianceoptional This method must be implemented if supportsKeyAdmin() is true.
MethodgetKeyAdminSessionForAgency
Description

Gets the OsidSession associated with the key admin service for the given agency.

Parametersosid.id.IdagencyId the Id of the agency
Returnosid.authentication.keys.KeyAdminSession a KeyAdminSession
ErrorsNOT_FOUND agencyId not found
NULL_ARGUMENT agencyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeyAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsKeyAdmin() and supportsVisibleFederation() are true.
MethodgetKeyNotificationSession
Description

Gets the notification session for notifications pertaining to service changes.

Parametersosid.authentication.keys.KeyReceiverkeyReceiver the key receiver
Returnosid.authentication.keys.KeyNotificationSession an KeyNotificationSession
ErrorsNULL_ARGUMENT keyReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeyNotification() is false
Complianceoptional This method must be implemented if supportsKeyNotification() is true.
MethodgetKeyNotificationSessionForAgency
Description

Gets the OsidSession associated with the key notification service for the given agency.

Parametersosid.authentication.keys.KeyReceiverkeyReceiver the key receiver
osid.id.IdagencyId the Id of the agency
Returnosid.authentication.keys.KeyNotificationSession an KeyNotificationSession
ErrorsNOT_FOUND agencyId not found
NULL_ARGUMENT keyReceiver or agencyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeyNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsKeyNotification() and supportsVisibleFederation() are true.
MethodgetKeyAgencySession
Description

Gets the session for retrieving key to agency mappings.

Returnosid.authentication.keys.KeyAgencySession an KeyAgencySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeyAgency() is false
Complianceoptional This method must be implemented if supportsKeyAgency() is true.
MethodgetKeyAgencyAssignmentSession
Description

Gets the session for assigning key to agency mappings.

Returnosid.authentication.keys.KeyAgencyAssignmentSession a KeyAgencyAsignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeyAgencyAssignment() is false
Complianceoptional This method must be implemented if supportsKeyAgencyAssignment() is true.
MethodgetKeySmartAgencySession
Description

Gets the OsidSession associated with the key smart agency service for the given agency.

Parametersosid.id.IdagencyId the Id of the agency
Returnosid.authentication.keys.KeySmartAgencySession an KeySmartAgencySession
ErrorsNOT_FOUND agencyId not found
NULL_ARGUMENT agencyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsKeySmartAgency() is false
Complianceoptional This method must be implemented if supportsKeySmartAgency() and supportsVisibeFederation() is true.