Skip to main content
Version: 8.2411.x.x RR

Backwards compatibility

As of release 2.64.0.0, the UserInfo Endpoint (in short Endpoint) of the nevisIDM REST services has been changed. From release 2.64.0.0 on, the Endpoint is found under /nevisidm/api/ (instead of the old /nevisidm/rest).

If your older REST clients must still be able to access nevisIDM, you need to make some manual adjustments that are explained below.

Adding a RewriteFilter to nevisProxy

If your "old" REST clients must still be able to reach the REST service via /nevisidm/rest, add a RewriteFilter and a corresponding filter mapping to nevisProxy. For configuration details, see the following code blocks:

<filter>
<filter-name>RestRewriteFilter</filter-name>
<filter-class>ch::nevis::isiweb4::filter::rewrite::RewriteFilter</filter-class>
<init-param>
<param-name>RequestURI</param-name>
<param-value>
^/nevisidm/rest(.*):/nevisidm/api$1:PT
</param-value>
</init-param>
</filter>
 <filter-mapping>
<filter-name>RestRewriteFilter</filter-name>
<url-pattern>/nevisidm/rest/*</url-pattern>
</filter-mapping>

See the nevisProxy reference guide for more information about the RewriteFilter.