atomsite.net

The AtomPub server for .NET

OpenID and Auth Updates

Posted in BlogSvc by JarrettV on 2/12/2009 7:54:20 PM - CST

The next release will contain full support for OpenID for both normal logins and comments.  OpenID can be enabled or disabled per workspace.  When enabled, it adds the new custom OpenID javascript selector to the login page.

It also adds support to the comment section.  Clicking on Login will popup the OpenID javascript selector.

jQueryOpenIdPlugin

The authentication system was simplified in the process of adding OpenID.  There is a new authentication module called OpenIdAuthenticationModule that can be used along side the existing authentication system built into ASP.NET.  Now, authentication is handled consistently across all modes: Basic, WSSE, OpenId, and Forms.  The authentication service was no longer needed so it has been removed.

The User domain object now implements IIdentity and is available through HttpContext.User.Identity or Thread.CurrentPrincipal.Identity.

Users in the UserRepository can have multiple id's to support multiple OpenID's for each user.

The AppService domain object was also updated to reference these user id's instead of containing actual AtomPerson domain objects.  These updates were propagated to the authorization service.  Also, the AtomPerson domain object was updated with an id property so a reference can be made back to the user repository.

Also, the authorization was cleaned up across the AtomPub and Annotation services.  The role actions "Annotate", "ApproveEntryOrMedia", and "ApproveAnnotation", are now used in place of AnnotationApprovalMode, EntryApprovalMode, and AnnotatationMode.  To control who can annotate and approve, just customize the role matrix. Finally, there is a new setting called AnnotationsOn to allow you to disable annotations regardless of the role matrix.

See the Annotations page for more information.

Comments

None.

Add Comment

Login using
Google Yahoo flickr AOL
and more
Or provide your details
Please enter your name. Please enter a valid email. Please enter a valid website.
Please supply a comment.
4.5 (2)
on 3/15/2009 7:15:02 PM - CST

Recent Entries

© Copyright 2010 Powered by AtomSite 1.4.0.0