Essentially,  what I want to do is trigger a login whenever an
unauthenticated user visits any URL under /xmlui.  FYI, I'm using Shibboleth
authentication, I have the entire hostname protected, so that the user has
to be authenticated before entering the site.

After reading through a lot of cocoon documentation today, it seems like I
should be able to modify the sitemap.xmap file to accomplish this.    

The DRI has the userMeta attribute 'authenticated' that I can test against.  
If it's 'no,' I want to trigger a login.  From looking in the sitemap.xmap,
it appears that the action I want to perform is 'StartAuthentication'.

How would I do this in the sitemap.xmap?   The existing matching that occurs
in the pipeline section of the sitemap is based URL pattern.   How can I
base it on a DRI element attribute?

Also, when a request comes in to /xmlui/login  how can I tell what services
that request?    I was expecting to see something similar to a <map:match
pattern="/login"><map:act type="doLogin"....  in the pipeline entries of the
sitemap.   I don't see anything even close, so what handles it?

Greatly appreciate your time.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Monkeying-with-Authentication-and-Manakin-tp4659086.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to