Quantcast
Channel: Blog – Stormpath User Identity API
Viewing all articles
Browse latest Browse all 278

Stormpath Community Roundup - Tasty Biscuits Edition

$
0
0

Today is National Buttermilk Biscuit Day. Biscuits fill me with joy, as do community integrations, so here's a post packed with deliciousness from the amazing people in the Stormpath community. (First, here's an awesome biscuit recipe. Happy Biscuit Day!)

  • CAS-Addons, now with Richer Stormpath Support
  • Python Login Skeleton for Stormpath

Biscuits!

CAS-Addons, now with Richer Stormpath Support

Last fall, the team at Unicon released CAS 3.5 Integration with Stormpath, which allows Stormpath to be used as a primary authentication source for CAS servers. They just added the ability to source Stormpath attributes and expose them as regular CAS Principal attributes. To quote Dmitriy at Unicon, "No need for a complex IPersonDirectoryDao impl, etc. Just a rich StormpathPrincipal encapsulating Account instances."

He also added custom XML namespace support for Stormpath-related beans. The authentication manager element now contains all the Stormpath-related objects. For example, to define a top-level authentication manager containing Stormpath handler and attributes resolution, one would simply need to do this:

<cas:authentication-manager-with-stormpath-handler
access-id="${stormpath.apiKey.id}"
secret-key="${stormpath.apiKey.secret}"
application-id="${stormpath.application.id}"/>

This encapsulates:
  1. Top level AuthenticationManager bean definition
  2. List of handlers with default HttpBased handler and StormpathAuthenticationHandler
  3. List of principal resolvers with default HTTP principal resolver and StormpathPrincipalResolver (which automatically exposes Stormpath Account data as CAS Principal attributes)

...and eliminates any boilerplate bean definition constructs.

Python Login Skeleton for Stormpath

Brian Peterson just released a simple and very intuitive login skeleton for Stormpath that uses the Stormpath Python SDK. This makes it really (I mean, really) easy for Pythonistas to use and understand Stormpath.

He also did a great job of explaining and diagramming the actions of the SDK. Fork it, play with it, send him (and us!) your suggestions and pull requests. As we roll out the Python SDK update, which will include 2.7 support as well as a simplifying refactor, we'll also be updating this handy tool. Nice work!

Stormpath SDK Actions


Viewing all articles
Browse latest Browse all 278

Trending Articles