Redirect user when address is not '/HomePage'
Use Level.FINE instead of DEBUG
Use  as before, not
Redirect to refererUrl + redirect
Add some javadoc to Federative login; remove unused debug code.
Check that Shib returned an email address, always use lower case email to check and create an account, use previous code for redirection after federated login. Add some javadoc.
use requestURI path instead of using value from bundle
remove "saml" location