- 01 Oct 2024
- 1 Minute à lire
- SombreLumière
- PDF
Restrict Access to OneSpan User Websites Functionality
- Mis à jour le 01 Oct 2024
- 1 Minute à lire
- SombreLumière
- PDF
If you do not want to make all OneSpan User Websites pages available to users, you can restrict access to OneSpan User Websites functionality. Doing so will remove the corresponding pages from OneSpan User Websites. In addition, you can restrict user input, e.g. by adding a drop-down list box with a limited set of options to choose from, and modify the dynamic page behavior upon user input.
You can restrict access by changing the respective files in the following folders:
webapps_folder\app_name
where:
webapps_folder is the web application folder of your web server. If you deployed OneSpan User Websites from the provided installation packages, this is installation_folder\tomcat\webapps.
app_name is the web application to configure, i.e. selfmgmt for User Self-Management Website and votp for Virtual Mobile Authenticator OTP Request Website.
To remove OneSpan User Websites functionality
Remove the link(s) to the OneSpan User Websites page(s) you do not want to make available from webapps_folder\app_name\ui\inc\menu.jsp.
Remove the link(s) from the home page of User Self-Management Website, e.g. remove the options for Digipass activation:
By adapting webapps_folder\selfmgmt\index.jsp
Edit the appropriate file(s) in webapps_folder\app_name\ui\action as needed.
To modify dynamic page behavior
Edit webapps_folder\app_name\etc\js\custom.js as needed.
To display a custom information link
Open webapps_folder\app_name\ui\inc\menu.jsp.
Locate and uncomment the following link:
<li><a href="${pageContext.request.contextPath}/about">About</a></li>
This enables an About link in the page menu that opens a file to display customizable information, such as third-party licenses.
Create a file with content to display when the custom information link is clicked:
webapps_folder\app_name\etc\LICENSE.txt
To enable upgrades to Push Notification
Open the User Self-Management Website configuration file, i.e. webapps_folder\selfmgmt\WEB-INF\classes\selfmgmt.conf.
Locate and set the upgradepushnotification.enabled setting:
upgradepushnotification.enabled = true
Save and close the configuration file.
On Linux, restart the Apache Tomcat daemon (onespan-uws). On Windows, restart the Apache Tomcat service (OneSpan User Websites).
This enables the Enable Push Notification for Authentication page in the User Self-Management Website.