This code demonstrates how a custom SSO Authenticator for Confluence may be 
implemented. It is an example only and is NOT SUITABLE FOR DEPLOYMENT TO A 
PRODUCTION INSTANCE without modification and testing. The trivial 
implementation of the 'SSO' environment in this example may open your 
Confluence server to malicious attack if you install it without customisation.