Add Claims to Anonymous User?
-
Friday, September 23, 2011 2:20 PM
I believe an anonymous user will have no claims, so is it possible for an anonymous user to be given claims?
Purpose claims based on realm, so although anonymous some sites pages (web parts) may or may not operate. Not an issue for authenticated users.
Answers
-
Friday, September 23, 2011 2:40 PM
Anonymous access in SharePoint isn't like anonymous access in regular IIS. It doesn't represent the anonymous user as an actual user. So there is no user object to add claims to. SharePoint uses claims for authentication, not for authorization. So if you hit something on a page that an anonymous user isn't authorized to access it will popup a login to authenticate a user who does have access.
Paul Stork SharePoint Server MVP Chief SharePoint
Architect: Sharesquared Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.- Marked As Answer by MULTISY Friday, September 23, 2011 2:44 PM
All Replies
-
Friday, September 23, 2011 2:40 PM
Anonymous access in SharePoint isn't like anonymous access in regular IIS. It doesn't represent the anonymous user as an actual user. So there is no user object to add claims to. SharePoint uses claims for authentication, not for authorization. So if you hit something on a page that an anonymous user isn't authorized to access it will popup a login to authenticate a user who does have access.
Paul Stork SharePoint Server MVP Chief SharePoint
Architect: Sharesquared Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.- Marked As Answer by MULTISY Friday, September 23, 2011 2:44 PM
-
Friday, September 23, 2011 2:44 PM
Thanks, great explanation; just trying to kill two birds with one claim.

