KEYCLOAK-786

Value in input fields should be escaped
Merge pull request #800 from stianst/master

KEYCLOAK-786
KEYCLOAK-702 - Added AdapterTokenStore spi. Possibility to save account info to cookie as alternative to http session
Merge pull request #801 from mposolda/master

KEYCLOAK-702 - Added AdapterTokenStore spi. Possibility to save account ...
Minor fixes and javadoc
KEYCLOAK-740 Documentation of adapters clustering
Merge pull request #802 from mposolda/master

KEYCLOAK-740 Documentation of adapters clustering
Keycloak Multi Tenants
Compare session's or cookie's realm against request's realm.

Due to the latest commits on master, similar changes to those were lost during a rebase.
Those changes are needed in order to check if the request's realm is the same as the one from the cookie or session.
The scenario is: an user is logged in into tenant 1 and accesses some resource on tenant 2. Without this change,
Keycloak could assign an identity from tenant 1 to a request intended to tenant 2.