Config folder
/WEB-INF/config
This folder contains your PageSeeder configuration.
Please ensure that you have a copy of this folder outside your deployed solution. We recommend that you backup this folder. Typically the some of the configuration files would also be maintain in a version control system.
The PageSeeder configuration includes:
- the database properties
- the global properties
- the group properties
- your custom project templates
- An optional
analytics.xml
file - An optional
identity-config.xml
file
- In PageSeeder v6.0 and lower the file was
external-identity.xml
.
analytics.xml
file
Use this file to inject some code into the user interface. This is typically use for Web analytics.
<analytics> <include location="head"> <script><!-- This will be included inside the <head> --></script> </include> <include location="body"> <script><!-- This will be included at the end of <body> --></script> </include> </analytics>
identity-config.xml
file
Use this file to specify Open ID providers and external portal apps to support SSO.
<identity-config default-authentication="internal"> <provider id="google" title="Google" authority-url="https://accounts.google.com" client-id="1234abcd.apps.googleusercontent.com" /> <provider id="microsoft" title="Microsoft" authority-url="https://login.microsoftonline.com/1234-abcd/" client-id="12345678-aaaa-bbbb-cccc-dddddddddddd" /> <domain name="mail.example.net" providers="microsoft google"/> <domain name="gmail.example.net" providers="google"/> <domain name="microsoft-only.example.net" providers="microsoft" authentication="external"/> <domain name="internal.example.net" authentication="internal"/> <domain name="external.example.net" authentication="external"/> <domain name="evil.example.net" authentication="none"/> <domain name="choice.example.net" authentication="any"/> <domain name="example.net" /> </identity-config>
This file is returned by the /identity-config service.