Clean-up. No functional change

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646731 13f79535-47bb-0310-9956-ffa450edef68
Make GenericPrincipal Serializable

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646732 13f79535-47bb-0310-9956-ffa450edef68
No longer need SerializablePrincipal in Cluster code since GenericPrincipal now implements Serializable

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646733 13f79535-47bb-0310-9956-ffa450edef68
Whitespace clean-up

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646735 13f79535-47bb-0310-9956-ffa450edef68
Switch to ConcurrentHashMap and remove syncs

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646738 13f79535-47bb-0310-9956-ffa450edef68
No longer need a separate lookup() method

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646739 13f79535-47bb-0310-9956-ffa450edef68
Refactor the sync to simply synchronize the method

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646740 13f79535-47bb-0310-9956-ffa450edef68
Remove final so sub-classes can replace these.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646741 13f79535-47bb-0310-9956-ffa450edef68
First pass at fixing https://issues.apache.org/bugzilla/show_bug.cgi?id=57338 so SSO entries are kept in sync across the cluster as nodes are added and removed.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646744 13f79535-47bb-0310-9956-ffa450edef68
Clean up

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646746 13f79535-47bb-0310-9956-ffa450edef68
Update merge info

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646747 13f79535-47bb-0310-9956-ffa450edef68
Remove unused method spotted by kfujino

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646748 13f79535-47bb-0310-9956-ffa450edef68
kfujino review of  BZ 57338 fix.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646749 13f79535-47bb-0310-9956-ffa450edef68
kfujino review of  BZ 57338 fix. Add configuration options for mapSendOptions and terminateOnStartFailure. Document the configuration options.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646750 13f79535-47bb-0310-9956-ffa450edef68
Avoid unnecessary object creation

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646751 13f79535-47bb-0310-9956-ffa450edef68
SSO now retains just the session ID rather than the actual session object so there is no need to remove sessions that have been passivated.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646752 13f79535-47bb-0310-9956-ffa450edef68
Comment typo

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646753 13f79535-47bb-0310-9956-ffa450edef68
Should use containerLog rather than own log

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646754 13f79535-47bb-0310-9956-ffa450edef68
Calls to associate need to trigger a Map update as well

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646755 13f79535-47bb-0310-9956-ffa450edef68
Refactor to replace reverse map with dedicated session listener that contains a reference to the SSO ID. This refactoring is in support of the fix for BZ 57338.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.0.x/trunk@1646757 13f79535-47bb-0310-9956-ffa450edef68