Interface AuthenticationKeysProxyManager
- All Superinterfaces:
AuthenticationKeysProfile, AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The authentication proxy manager provides access to authentication
sessions and provides interoperability tests for various aspects of this
service. Methods in this manager support the passing of a Proxy
object. The sessions included in this manager are:
-
KeyLookupSession: a session to access the keys ofAgents -
KeyQuerySession: a session to query keys -
KeySearchSession: a session to search for keys -
KeyAdminSession: a session to update the keys ofAgents -
KeyNotificationSession: a session to receive messages pertaining toKeychanges -
KeyAgencySession: a session to retrieveKeytoAgencymappings -
KeyAgencyAssignmentSession: a session to manageKeytoAgencymappings -
KeySmartAgencySession: a session to create dynamic agencies of keys
-
Method Summary
Modifier and TypeMethodDescriptiongetKeyAdminSession(Proxy proxy) Gets theOsidSessionassociated with the key administration service.getKeyAdminSessionForAgency(Id agencyId, Proxy proxy) Gets theOsidSessionassociated with the key admin service for the given agency.Gets the session for assigning key to agency mappings.getKeyAgencySession(Proxy proxy) Gets the session for retrieving key to agency mappings.getKeyLookupSession(Proxy proxy) Gets theOsidSessionassociated with the key lookup service.getKeyLookupSessionForAgency(Id agencyId, Proxy proxy) Gets theOsidSessionassociated with the key lookup service for the given agency.getKeyNotificationSession(KeyReceiver keyReceiver, Proxy proxy) Gets the messaging receiver session for notifications pertaining to key changes.getKeyNotificationSessionForAgency(KeyReceiver keyReceiver, Id agencyId, Proxy proxy) Gets theOsidSessionassociated with the key notification service for the given agency.getKeySearchSession(Proxy proxy) Gets theOsidSessionassociated with the key search service.getKeySearchSessionForAgency(Id agencyId, Proxy proxy) Gets theOsidSessionassociated with the key search service for the given agency.getKeySmartAgencySession(Id agencyId, Proxy proxy) Gets theOsidSessionassociated with the key smart agency service for the given agency.Methods inherited from interface AuthenticationKeysProfile
getKeyRecordTypes, getKeySearchRecordTypes, supportsKeyAdmin, supportsKeyAgency, supportsKeyAgencyAssignment, supportsKeyLookup, supportsKeyNotification, supportsKeyRecordType, supportsKeySearch, supportsKeySearchRecordType, supportsKeySmartAgency, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedKeyrecord types.Gets the supported key search record types.booleanTests if a key administrative service is supported.booleanTests if retrieving mappings of keys and agencies is supported.booleanTests if managing mappings of keys and agencies is supported.booleanTests if a key lookup service is supported.booleanTests if key notification is supported.booleansupportsKeyRecordType(Type keyRecordType) Tests if the givenKeyrecord type is supported.booleanTests if a key search service is supported.booleansupportsKeySearchRecordType(Type keySearchRecordType) Tests if the given key search record type is supported.booleanTests if key smart agency is available.booleanTests if federation is visible.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
-
getKeyLookupSession
Gets theOsidSessionassociated with the key lookup service.- Parameters:
proxy- a proxy- Returns:
- a
KeyLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsKeyLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeyLookup()} is {@code true} .
-
getKeyLookupSessionForAgency
KeyLookupSession getKeyLookupSessionForAgency(Id agencyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the key lookup service for the given agency.- Parameters:
agencyId- theIdof the agencyproxy- a proxy- Returns:
a KeyLookupSession- Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsKeyLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeyLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getKeySearchSession
Gets theOsidSessionassociated with the key search service.- Parameters:
proxy- a proxy- Returns:
- a
KeySearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsKeySearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeySearch()} is {@code true} .
-
getKeySearchSessionForAgency
KeySearchSession getKeySearchSessionForAgency(Id agencyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the key search service for the given agency.- Parameters:
agencyId- theIdof the agencyproxy- a proxy- Returns:
a KeySearchSession- Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsKeySearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeySearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getKeyAdminSession
Gets theOsidSessionassociated with the key administration service.- Parameters:
proxy- a proxy- Returns:
- a
KeyAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsKeyAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeyAdmin()} is {@code true} .
-
getKeyAdminSessionForAgency
KeyAdminSession getKeyAdminSessionForAgency(Id agencyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the key admin service for the given agency.- Parameters:
agencyId- theIdof the agencyproxy- a proxy- Returns:
a KeyAdminSession- Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsKeyAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeyAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getKeyNotificationSession
KeyNotificationSession getKeyNotificationSession(KeyReceiver keyReceiver, Proxy proxy) throws OperationFailedException Gets the messaging receiver session for notifications pertaining to key changes.- Parameters:
keyReceiver- the key receiverproxy- a proxy- Returns:
- an
KeyNotificationSession - Throws:
NullArgumentException-proxyorkeyReceiveris nullOperationFailedException- unable to complete requestUnimplementedException-supportsKeyNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeyNotification()} is {@code true} .
-
getKeyNotificationSessionForAgency
KeyNotificationSession getKeyNotificationSessionForAgency(KeyReceiver keyReceiver, Id agencyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the key notification service for the given agency.- Parameters:
keyReceiver- the key receiveragencyId- theIdof the agencyproxy- a proxy- Returns:
an KeyNotificationSession- Throws:
NotFoundException-agencyIdnot foundNullArgumentException-keyReceiver, agencyIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsKeyNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeyNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getKeyAgencySession
Gets the session for retrieving key to agency mappings.- Parameters:
proxy- a proxy- Returns:
- an
KeyAgencySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsKeyAgency()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeyAgency()} is {@code true} .
-
getKeyAgencyAssignmentSession
KeyAgencyAssignmentSession getKeyAgencyAssignmentSession(Proxy proxy) throws OperationFailedException Gets the session for assigning key to agency mappings.- Parameters:
proxy- a proxy- Returns:
- an
KeyAgencyAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsKeyAgencyAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeyAgencyAssignment()} is {@code true} .
-
getKeySmartAgencySession
KeySmartAgencySession getKeySmartAgencySession(Id agencyId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the key smart agency service for the given agency.- Parameters:
agencyId- theIdof the bankproxy- a proxy- Returns:
- an
KeySmartAgencySession - Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsKeySmartAgency()isfalse- Compliance:
optional- This method must be implemented if {@code supportsKeySmartAgency()} and {@code supportsVisibeFederation()} is {@code true} .
-