Greg Byrd <gbyrd@xxxxxxxx> 07/28/06 8:32 AM >>>
[...]
I have to admit I'm still a little confused by the current use of the
term 'provider' WRT the Higgins model. Given the recent discussions
it's not at all clear to me what the sequence of operations is for
creating/using an IContext with a real use case. Could someone point
me to example and/or junit test code that uses the API in current
expected/proscribed manner?
Let me give it a try:
(1) Consumer of IdAS service (aka User) needs to get a particular
Attribute value for a particular DigitalSubject, and he has the URI of a
Context that is likely to provide the required value.
(2) User contacts IdAS service and finds a ContextFactory that can
handle this URI.
(3) User asks the ContextFactory to create an IContext.
(4) User queries the Context's policy (IContext.getPolicy) to determine
what credentials are needed to open it.
(5) User calls IContext.open to authenticate to the Context and gain
access to its data.
(6) User searches for DigitalSubject (IContext.getSubjects) and
retrieves desired Attribute value (IDigitalSubject.getAttribute).
(7) User calls IContext.close to terminate use of the Context.
_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev
_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev