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
|