Hi all,

We are currently upgrading from DSpace 1.3 to Dspace 1.6 xmlui.
In 1.3 we have a custom filter to allow users authenticated by another
system to directly link to DSpace. The user should not login again in
DSpace, because the authentication did already take place in the other
system we trust. This is done with a token.
In DSpace 1.3 you can add a custom filter to etc/dspace-web.xml, besides
the already existing AdminOnlyFilter and the RegisteredOnlyFilter.
We have added this to etc/dspace-web.xml:

  <filter>
    <filter-name>from-metis</filter-name>
 
<filter-class>nl.leidenuniv.dspace.app.webui.filter.FromMetisFilter</fil
ter-class>
  </filter>

  <filter-mapping>
    <filter-name>from-metis</filter-name>
    <url-pattern>/metis</url-pattern>
  </filter-mapping>

And we have made a custom class FromMetisFilter to check the token and
authenticity of the user.

My question: how can I accomplish the same thing in DSpace 1.6? Where
should I start?

Thanks in advance for any help you can give me

Regards,
Lucas
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to