Tomcat WebVoyage 8.2.0 external patron authentication
- Article Type: General
- Product: Voyager
- Product Version: 8.2.0
Symptoms
Receive the following error: ?You may not have entered your barcode and name correctly. Retry your request or ask for help at the circulation or reference desk.?
Patron is actually logged into WebVoyage
Defect Status
Issue 16384-21553 is fixed in Voyager 8.2.1.
Replication steps
- Clear your browser history.
- Go to http://10.100.3.128:7008/vwebv/myAccount?sk=epa
- Login successfully.
- Redirect fails.
- Receive the following error: ?You may not have entered your barcode and name correctly. Retry your request or ask for help at the circulation or reference desk.
Other information: If you go to http://10.100.3.128:7008/vwebv/searchBasic?sk=epa before step 1, everything works as expected.
Workaround
cd /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/WEB-INF
vi web.xml
- Find SearchContextFilter:
<filter-mapping> <filter-name>SearchContextFilter</filter-name>
- Add following 5 lines after
<url-pattern>/login.do/*</url-pattern>
:
<url-pattern>/myAccount/*</url-pattern> <url-pattern>/myList/*</url-pattern> <url-pattern>/mySearch/*</url-pattern> <url-pattern>/patronRequest/*</url-pattern> <url-pattern>/patronRequests/*</url-pattern>
- Save changes.
- Restart Tomcat.
- Article last edited: 08-Oct-2013