Yes, my question was confusing. I need to rephrase :-)
Without all the background on this one, I guess my question was more
why we thought that userCategory should be wsrp:minimal as well. In
order to represent a guest user, would userContext=wsrp:minimal by
itself not suffice? In that case, if the Consumer so choose to send
along values for
the userCategory, that would be additional information, but not
something Producers would use to detect guest/anonymous access.
Atul
jeff wrote:
i don't believe that was atul's question. the spec does not mandate
that the producer send wsrp:minimal as a user category. i think he was
suggesting that all "well-behaved" producers should send wsrp:minimal
as a user category to give consumers the *option* of sending it.
?
Rich Thompson wrote:
In order for a compliant Consumer
to
send userCategory="wsrp:minimal", the Producer must have specified
it in its ServiceDescription.
Rich
So if I understand correctly, to allow the Consumer to send
wsrp:minimal
for the userCategory and enable guest access per the convention, are we
are saying that the Producer should (or rather is best advised to)
minimally
declare support for wsrp:minimal in it's ServiceDescription? Else,
there
could be interop issues down the line (particularly with other
implementations
that come along)?
Atul
Rich Thompson wrote:
The spec explicitly says that the Producer declares all the user
categories
it supports, including those defined by the spec (see 5.1.19). It is an
error for a Consumer to send a userCategory the Producer has not
declared
as supported (see 6.10.1).
The convention adopted by the Interop SC was to have both the
userContextKey
and userCategory be wsrp:minimal for a guest user. How an
implementation
supports changing the category to null is up to the implementation.
Rich
Richard Jacob wrote:
Atul Batra <atul.batra@Sun.COM>
wrote on 03/17/2004 02:57:03 AM:
I know that was discussed a while back, but just to confirm - are
Producers out there expecting anything other than
userContextKey=wsrp:minimal
(and userAuthentication=wsrp:none
as well)
in order to "recognize" a guest user? Specifically, does the
agreed to
interop convention mandate that userCategory be equal to wsrp:minimal
as
well?
yes, userCategory is wsrp:minimal
and if then the userContextKey is
wsrp:minimal,
too, it's a guest user with no userProfile.
cheers
Richard
Hi Richard,
Two more related questions :
What do producers make out of a user whose
userContextKey=wsrp:minimal
and userCategory=null ? How
is it different from a guest user whose userContextKey=wsrp:minimal
and userCategory=wsrp:minimal ?
For a guest user, would you recommend userCategory to be set to
wsrp:minimal,
even when a producer doesn't define any user categories
in the ServiceDescription or defines user categories that are not one
of
the three standard user categories defined in the spec. Just want
to make sure, producers won't throw back InvalidUserCategoryFault
in
this case.
thanks,
Maneesha
|