Please be aware that there is newer version of documentation available for Webswing. Documentation 24.2
Restricted Resources
In some cases you want to host a static pages alongside with your Swing Application in Webswing and leveraging the Webswing security integration. Most common example is documentation. With Restricted Resources feature you can share the same security setup to keep your documentation protected.
- Copy files you want to serve securely. For example to /webswing-examples-20.1/apps/docs
- In Webswing Admin console create a new app called help.
- Set the Web Folder to point to your files ${webswing.rootDir}/apps/docs
- Set the Restricted Resources to "/"
- Enable the application
- Now the help will be accessible only to authenticated users. Secured pages should be therefore referenced only from a Webswing served Swing Application.