Interface AuthenticationManager
- All Superinterfaces:
AuthenticationProfile, AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable
The authentication manager provides access to authentication sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
AgentLookupSession: a session to look upAgents -
AgentQuerySession: a session to queryAgents -
AgentSearchSession:a session to searchAgents -
AgentAdminSession: a session to create, modify and deleteAgents -
AgentNotificationSession: asession to receive messages pertaining toAgentchanges
-
AgentAgencySession: a session to retrieveAgenttoAgencymappings -
AgentAgencyAssignmentSession: a session to manageAgenttoAgencymappings -
AgentSmartAgencySession: a session to create dynamic agencies -
AgencyLookupSession: a session to lookup agencies -
AgencyQuerySession: a session to query agencies -
AgencySearchSession: a session to search agencies -
AgencyAdminSession: a session to create, modify and delete agencies -
AgencyNotificationSession: a session to receive messages pertaining toAgencychanges -
AgencyHierarchySession: a session to traverse theAgencyhierarchy -
AgencyHierarchyDesignSession: a session to manage theAgencyhierarchy
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the agency administration service.Gets the session designing agency hierarchies.Gets the session traversing agency hierarchies.Gets theOsidSessionassociated with the agency lookup service.getAgencyNotificationSession(AgencyReceiver agencyReceiver) Gets the notification session for notifications pertaining to agency service changes.Gets theOsidSessionassociated with the agency search service.Gets theOsidSessionassociated with the agent administration service.getAgentAdminSessionForAgency(Id agencyId) Gets theOsidSessionassociated with the agent admin service for the given agency.Gets the session for assigning agent to agency mappings.Gets the session for retrieving agent to agency mappings.Gets theOsidSessionassociated with the agent lookup service.getAgentLookupSessionForAgency(Id agencyId) Gets theOsidSessionassociated with the agent lookup service for the given agency.getAgentNotificationSession(AgentReceiver agentReceiver) Gets the notification session for notifications pertaining to service changes.getAgentNotificationSessionForAgency(AgentReceiver agentReceiver, Id agencyId) Gets theOsidSessionassociated with the agent notification service for the given agency.Gets theOsidSessionassociated with the agent query service.getAgentQuerySessionForAgency(Id agencyId) Gets theOsidSessionassociated with the agent query service for the given agency.Gets theOsidSessionassociated with the agent search service.getAgentSearchSessionForAgency(Id agencyId) Gets theOsidSessionassociated with the agent search service for the given agency.getAgentSmartAgencySession(Id agencyId) Gets theOsidSessionassociated with the agent smart agency service for the given agency.Gets anAuthenticationBatchManager.Gets anAuthenticationKeysManager.Gets anAuthenticationProcessManager.Methods inherited from interface AuthenticationProfile
getAgencyRecordTypes, getAgencySearchRecordTypes, getAgentRecordTypes, getAgentSearchRecordTypes, supportsAgencyAdmin, supportsAgencyHierarchy, supportsAgencyHierarchyDesign, supportsAgencyLookup, supportsAgencyNotification, supportsAgencyQuery, supportsAgencyRecordType, supportsAgencySearch, supportsAgencySearchRecordType, supportsAgentAdmin, supportsAgentAgency, supportsAgentAgencyAssignment, supportsAgentLookup, supportsAgentNotification, supportsAgentQuery, supportsAgentRecordType, supportsAgentSearch, supportsAgentSearchRecordType, supportsAgentSmartAgency, supportsAuthenticationAcquisition, supportsAuthenticationKeys, supportsAuthenticationProcess, supportsAuthenticationValidation, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedAgencyrecord types.Gets the supportedAgencysearch record types.Gets the supportedAgentrecord types.Gets the supportedAgentsearch record types.booleanTests if an agency administrative service is supported.booleanTests if an agency hierarchy traversal is supported.booleanTests if an agency hierarchy design is supported.booleanTests if an agency lookup service is supported.booleanTests if agency notification is supported.booleanTests if an agency query service is supported.booleansupportsAgencyRecordType(Type agencyRecordType) Tests if the givenAgencyrecord type is supported.booleanTests if an agency search service is supported.booleansupportsAgencySearchRecordType(Type agencySearchRecordType) Tests if the givenAgencysearch record type is supported.booleanTests if an agent administrative service is supported.booleanTests if retrieving mappings of agents and agencies is supported.booleanTests if managing mappings of agents and agencies is supported.booleanTests if an agent lookup service is supported.booleanTests if agent notification is supported.booleanTests if an agent query service is supported.booleansupportsAgentRecordType(Type agentRecordType) Tests if the givenAgentrecord type is supported.booleanTests if an agent search service is supported.booleansupportsAgentSearchRecordType(Type agentSearchRecordType) Tests if the givenAgentsearch record type is supported.booleanTests if agent smart agency is available.booleanTests is authentication acquisition is supported.booleanTests if an authentication key service is available.booleanTests if an authentication process service is available.booleanTests if authentication validation is supported.booleanTests if federation is visible.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
-
getAgentLookupSession
Gets theOsidSessionassociated with the agent lookup service.- Returns:
- an
AgentLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgentLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentLookup()} is {@code true} .
-
getAgentLookupSessionForAgency
AgentLookupSession getAgentLookupSessionForAgency(Id agencyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the agent lookup service for the given agency.- Parameters:
agencyId- theIdof the agency- Returns:
an AgentLookupSession- Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsAgentLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAgentQuerySession
Gets theOsidSessionassociated with the agent query service.- Returns:
- an
AgentQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgentQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentQuery()} is {@code true} .
-
getAgentQuerySessionForAgency
AgentQuerySession getAgentQuerySessionForAgency(Id agencyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the agent query service for the given agency.- Parameters:
agencyId- theIdof the agency- Returns:
an AgentQuerySession- Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsAgentQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAgentSearchSession
Gets theOsidSessionassociated with the agent search service.- Returns:
- an
AgentSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgentSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentSearch()} is {@code true} .
-
getAgentSearchSessionForAgency
AgentSearchSession getAgentSearchSessionForAgency(Id agencyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the agent search service for the given agency.- Parameters:
agencyId- theIdof the agency- Returns:
an AgentSearchSession- Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsAgentSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAgentAdminSession
Gets theOsidSessionassociated with the agent administration service.- Returns:
- an
AgentAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgentAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentAdmin()} is {@code true} .
-
getAgentAdminSessionForAgency
AgentAdminSession getAgentAdminSessionForAgency(Id agencyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the agent admin service for the given agency.- Parameters:
agencyId- theIdof the agency- Returns:
an AgentAdminSession- Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsAgentAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAgentNotificationSession
AgentNotificationSession getAgentNotificationSession(AgentReceiver agentReceiver) throws OperationFailedException Gets the notification session for notifications pertaining to service changes.- Parameters:
agentReceiver- the agent receiver- Returns:
- an
AgentNotificationSession - Throws:
NullArgumentException-agentReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAgentNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentNotification()} is {@code true} .
-
getAgentNotificationSessionForAgency
AgentNotificationSession getAgentNotificationSessionForAgency(AgentReceiver agentReceiver, Id agencyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the agent notification service for the given agency.- Parameters:
agentReceiver- the agent receiveragencyId- theIdof the agency- Returns:
an AgentNotificationSession- Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agentReceiveroragencyIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsAgentNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getAgentAgencySession
Gets the session for retrieving agent to agency mappings.- Returns:
- an
AgentAgencySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgentAgency()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentAgency()} is {@code true} .
-
getAgentAgencyAssignmentSession
Gets the session for assigning agent to agency mappings.- Returns:
- a
AgentAgencyAsignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgentAgencyAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentAgencyAssignment()} is {@code true} .
-
getAgentSmartAgencySession
AgentSmartAgencySession getAgentSmartAgencySession(Id agencyId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the agent smart agency service for the given agency.- Parameters:
agencyId- theIdof the agency- Returns:
- an
AgentSmartAgencySession - Throws:
NotFoundException-agencyIdnot foundNullArgumentException-agencyIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAgentSmartAgency()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgentSmartAgency()} and {@code supportsVisibeFederation()} is {@code true} .
-
getAgencyLookupSession
Gets theOsidSessionassociated with the agency lookup service.- Returns:
- an
AgencyLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgencyLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgencyLookup()} is {@code true} .
-
getAgencySearchSession
Gets theOsidSessionassociated with the agency search service.- Returns:
- an
AgencySearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgencySearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgencySearch()} is {@code true} .
-
getAgencyAdminSession
Gets theOsidSessionassociated with the agency administration service.- Returns:
- an
AgencyAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgencyAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgencyAdmin()} is {@code true} .
-
getAgencyNotificationSession
AgencyNotificationSession getAgencyNotificationSession(AgencyReceiver agencyReceiver) throws OperationFailedException Gets the notification session for notifications pertaining to agency service changes.- Parameters:
agencyReceiver- the agency receiver- Returns:
- an
AgencyNotificationSession - Throws:
NullArgumentException-agencyReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsAgencyNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgencyNotification()} is {@code true} .
-
getAgencyHierarchySession
Gets the session traversing agency hierarchies.- Returns:
- an
AgencyHierarchySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgencyHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgencyHierarchy()} is {@code true} .
-
getAgencyHierarchyDesignSession
Gets the session designing agency hierarchies.- Returns:
- an
AgencyHierarchyDesignSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAgencyHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAgencyHierarchyDesign()} is {@code true} .
-
getAuthenticationBatchManager
Gets anAuthenticationBatchManager.- Returns:
- an
AuthenticationBatchManager. - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthenticationBatch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthenticationBatch()} is {@code true} .
-
getAuthenticationKeysManager
Gets anAuthenticationKeysManager.- Returns:
- an
AuthenticationKeysManager. - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthenticationKeys()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthenticationKeys()} is {@code true} .
-
getAuthenticationProcessManager
Gets anAuthenticationProcessManager.- Returns:
- an
AuthenticationProcessManager. - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsAuthenticationProcess()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAuthenticationProcess()} is {@code true} .
-