JAAS (Java Authentication and Authorization Service) is a standardized Java security framework for user-centric security.
SiteVision uses JAAS for authentication and the configuration is located centrally on the Site properties beneath Security -> Authentication Configuration. As a developer, you can write your custom JAAS plugin modules and utilize them in SiteVision.
Your JAAS plugin must implement the class javax.security.auth.spi.LoginModule and be packed in a jar. The jar must contain a manifest that describes that it is:
a) a login module:
b) a login filter:
A full example of a manifest file that describes a JAAS module in class se.myorg.security.jaas.MyJaasModule should look like this (note empty lines):
Sitevision specific callbacks are available in the public API jar file. More information on how to retireve the jar file can be found here.
In order for SiteVision to detect your JAAS plugin your jar file must be placed in the custom/lib folder.
The next time SiteVision is restarted, the JAAS plugin will be detected and can be configured as any other JAAS plugin found on the tab Authentication configuration beneath Site properties.
The page published: 2017-09-20