com.exlibris.dps.repository.plugin
Interface ARPlugin


public interface ARPlugin

A plugin for external access rights check on items, prior to their display.
This plugin interface only supports java implementation.

Author:
PeterK

Method Summary
 boolean validateToken(java.lang.String ip, java.lang.String iePid, java.lang.String token)
          Validates the user token & info against the requested IE and returns whether to allow or deny access.
 

Method Detail

validateToken

boolean validateToken(java.lang.String ip,
                      java.lang.String iePid,
                      java.lang.String token)
                      throws java.lang.Exception
Validates the user token & info against the requested IE and returns whether to allow or deny access.

Parameters:
ip - the IP address of the user
iePid - the PID of the requested IE
token - the token sent by the client
Returns:
true to allow the user access the item, false to deny
Throws:
java.lang.Exception - on any error.
Note that any exception would stop the user from accessing the IE.