See: Description
Interface | Description |
---|---|
Profile |
A profile defines a collection of profile entries and items.
|
ProfileAdminSession |
This session creates, updates, and deletes
Profiles. |
ProfileEntry |
An ProfileEntry is a mapping among an
Agent or
Resource, and a ProfileItem. |
ProfileEntryAdminSession |
This session creates and removes
ProfileEntries. |
ProfileEntryCondition |
A profile entry condition interface.
|
ProfileEntryForm |
This is the form for creating and updating
ProfileEntries. |
ProfileEntryList |
Like all
OsidLists, ProfileEntryList
provides a means for accessing ProfileEntry elements
sequentially either one at a time or many at a time. |
ProfileEntryLookupSession |
This session defines methods to search and retrieve
ProfileEntry
mappings. |
ProfileEntryNotificationSession |
This session defines methods to receive asynchronous notifications on
adds/changes to
ProfileEntries. |
ProfileEntryProfileAssignmentSession |
This session provides methods to re-assign profile entries to
Profile. |
ProfileEntryProfileSession |
This session provides methods to retrieve
ProfileEntry
to Profile mappings. |
ProfileEntryQuery |
The query for profile entries.
|
ProfileEntryQueryInspector |
The query inspector to examine profile entry queries.
|
ProfileEntryQuerySession |
This session provides methods for searching
ProfileEntry
objects. |
ProfileEntryReceiver |
The profile entry receiver is the consumer supplied interface for
receiving notifications pertaining to new, updated or deleted
ProfileEntries. |
ProfileEntrySearch |
ProfileEntrySearch defines the interface for specifying
profile entry search options. |
ProfileEntrySearchOrder |
An interface for specifying the ordering of search results.
|
ProfileEntrySearchResults |
This interface provides a means to capture results of a search.
|
ProfileEntrySearchSession |
This session provides methods for searching
ProfileEntry
objects. |
ProfileEntrySmartProfileSession |
This session manages queries and sequencing to create "smart" dynamic
catalogs.
|
ProfileForm |
This is the form for creating and updating profiles.
|
ProfileHierarchyDesignSession |
This session defines methods for managing a hierarchy of
Profile
objects. |
ProfileHierarchySession |
This session defines methods for traversing a hierarchy of
Profile objects. |
ProfileItem |
A
ProfileItem represents an item in a profile. |
ProfileItemAdminSession |
This session creates, updates, and deletes
ProfileItems. |
ProfileItemForm |
This is the form for creating and updating
ProfileItems. |
ProfileItemList |
Like all
OsidLists, ProfileItemList
provides a means for accessing ProfileItem elements
sequentially either one at a time or many at a time. |
ProfileItemLookupSession |
This session provides methods for retrieving
ProfileItem
objects. |
ProfileItemNotificationSession |
This session defines methods to receive asynchronous notifications on
adds/changes to
ProfileItem objects. |
ProfileItemProfileAssignmentSession |
This session provides methods to re-assign
ProfileItems
to Profiles. |
ProfileItemProfileSession |
This session provides methods to retrieve
ProfileItem to
Profile mappings. |
ProfileItemQuery |
This is the query for searching profile items.
|
ProfileItemQueryInspector |
This is the query inspector for examining profile item queries.
|
ProfileItemQuerySession |
This session provides methods for searching
ProfileItem
objects. |
ProfileItemReceiver |
The profile item receiver is the consumer supplied interface for
receiving notifications pertaining to new, updated or deleted
ProfileItems. |
ProfileItemSearch |
ProfileItemSearch defines the interface for specifying
profile item search options. |
ProfileItemSearchOrder |
An interface for specifying the ordering of search results.
|
ProfileItemSearchResults |
This interface provides a means to capture results of a search.
|
ProfileItemSearchSession |
This session provides methods for searching
ProfileItem
objects. |
ProfileItemSmartProfileSession |
This session manages queries and sequencing to create "smart" dynamic
catalogs.
|
ProfileList |
Like all
OsidLists, ProfileList provides
a means for accessing Profile elements sequentially either
one at a time or many at a time. |
ProfileLookupSession |
This session provides methods for retrieving
Profile
objects. |
ProfileManager |
The profile manager provides access to profile sessions and provides
interoperability tests for various aspects of this service.
|
ProfileNode |
This interface is a container for a partial hierarchy retrieval.
|
ProfileNodeList |
Like all
OsidLists, ProfileNodeList
provides a means for accessing ProfileNode elements
sequentially either one at a time or many at a time. |
ProfileNotificationSession |
This session defines methods to receive notifications on adds/changes
to
Profile objects. |
ProfileProfile |
The
ProfileProfile describes the interoperability among
authentication services. |
ProfileProxyManager |
The profile manager provides access to profile sessions and provides
interoperability tests for various aspects of this service.
|
ProfileQuery |
This is the query for searching profiles.
|
ProfileQueryInspector |
This is the query inspector to examine profile queries.
|
ProfileQuerySession |
This session provides methods for searching among
Profile
objects. |
ProfileReceiver |
The profile receiver is the consumer supplied interface for receiving
notifications pertaining to new, updated or deleted
Profile
objects. |
ProfileSearch |
The interface for governing profile searches.
|
ProfileSearchOrder |
An interface for specifying the ordering of search results.
|
ProfileSearchResults |
This interface provides a means to capture results of a search.
|
ProfileSearchSession |
This session provides methods for searching among
Profile
objects. |
ProfilingSession |
This is the basic session for querying profiles.
|
The Open Service Interface Definitions for the org.osid.profile service.
The Profile OSID serves to help applications make decisions based on user attributes. The format and interpretation of the user attributes are abstracted to allow the application to ask questions of the profile service. The Profile OSID can be used to make application decisions regarding localization, accessibility, or roles.
ProfileItems
represent questions an application may wish
to ask in the context of a user. The evaluation of a ProfileItem always
returns a boolean result. Examples may be "display menu?" or "use audio?"
A ProfileEntry
is an OsidRelationship
between a ProfileItem
and a user. Explicit profile entries
can be created using either the Resource
or an Agent. A
Resource
that maps to multiple Agents
or a
Resource
that represents a group of other Resources
may result in the implicit existence of additional profile entries.
The Profile OSID is similar in operation to the Authorization OSID
without a Qualifier. In both cases, an OSID Consumer asks questions
identified by an OSID Id
in the context of an Agent
to determine how to proceed. In the Profile OSID, the Agent who is
authenticated to the Profile service itself is used.
ProfileEntries
and ProfileItems
may be
organized into one or many Profiles.
This serves to
categorize profile data for the purpose of browsing or auditing.
Profiles
are hierarchical where each node includes all the profile
data of its children. A single root node will make available all known
profile entries and is a reasonable choice for a default Profile for a
non-federated aware consumer. A federated profile scheme is one in which
Profiles
are available for selection.
The profile OSID contains a Profile Rules OSID for managing the
effectiveness of ProfileEntries
and a Profile Batch OSID for
managing ProfileItems
and ProfileEntries
in
bulk.
An application wishing to display an additional menu for users who live in Maine may traditionally do something like:
if (user.getAttribute("location") == "Maine") { displayAdditionalMenu(); }
The Profile OSID rephrases the question to the application viewpoint to allow for the extensibility and variation of interpretation of the attributes.
if (hasProfileEntry(displayAdditionalMenuId)) { displayAdditionalMenu(); }
Certain consumers may wish to be notified of changes within the
service. Profile supports notifications via
ProfileEntryNotificationSession,
ProfileItemNotificationSession
and
ProfileNotificationSession.
if (manager.supportsProfileEntryNotification()) { ProfileEntryNotificationSession ans = manager.getProfileEntryNotificationSession(receiver); ans.registerForDeletedProfileEntries(); } ProfileEntryReceiver receiver { newProfileEntry(ProfileEntry a) {print("profile entry created");} deletedProfileEntry(ProfileEntry a) {print("profile entry removed");} }
Copyright © 2010 Ingenescus. All Rights Reserved.
This Work is being provided by the copyright holder(s) subject to the following license. By obtaining, using and/or copying this Work, you agree that you have read, understand, and will comply with the following terms and conditions.
Permission to use, copy and distribute unmodified versions of this Work, for any purpose, without fee or royalty is hereby granted, provided that you include the above copyright notices and the terms of this license on ALL copies of the Work or portions thereof.
You may nodify or create Derivatives of this Work only for your internal purposes. You shall not distribute or transfer any such Derivative of this Work to any location or to any third party. For the purposes of this license, "Derivative" shall mean any derivative of the Work as defined in the United States Copyright Act of 1976, such as a translation or modification.
This Work and the information contained herein is provided on an "AS IS" basis WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK.
The export of software employing encryption technology may require a specific license from the United States Government. It is the responsibility of any person or organization contemplating export to obtain such a license before exporting this Work.