[Cosmo-dev] New login service (snarf rebuild required)
Travis Vachon
travis at osafoundation.org
Wed Jan 17 13:26:23 PST 2007
Hi folks
To enable the "log me into me home collection automatically"
functionality, we needed a new authorization service. This had
actually been in the works for a while, since we needed it to remove
some really ugly hacky code from our login page, so this is a nice
bene for 0.6.
The page a user is taken to on login is now determined as follows:
1) If the user was trying to access a page (say "/cosmo/admin/users")
they'll be forwarded there
2) Otherwise, the server will look up the value of the user's
preference named "Login.Url" and forward there
3) If that can't be found, the server will forward the user to
{baseUrl}/account/view
The default urls and name of the preferred login url preference key
are being kept in cosmo.properties. This means that after I check
this stuff in you'll need to either:
a) Rebuild snarf
or
b) Copy snarf/src/main/config to snarf/dist/osaf-server-bundle-0.6-
SNAPSHOT-/osaf-server-bundle-0.6-SNAPSHOT/etc
-Travis
More information about the cosmo-dev
mailing list