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 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-21.2/apps/WebswingDemo/webfolder/docs
- In Webswing Admin console create a new app called help.
- Set the Web Folder to point of your app ${webswing.rootDir}/apps/WebswingDemo/webfolder
- Set the Restricted Resources to "/docs"
- Now the help will be accessible only to authenticated users. Secured pages should be therefore referenced only from a Webswing served Swing Application.