Changed authorization to be user managed

Also includes associated db classes

Change-Id: Ic03b48c4f9baa7fa869bf78226cc2abdcde4a39a
Change gatling VMC redirect URL to https

Change-Id: I3e7d8aabe5e45f133242d17b99a0b5ca7f9827f6
Merge "Change gatling VMC redirect URL to https" into develop
Merge branch 'release/1.3.1' into develop

Change-Id: I0ba4a5055cb0f0471ecbf20d521fb93843c7dfab
[cfid-412] Fix deserialization error in PUT /approvals

Required for the new revoke-approvals UI in login server. Fixes [#41204527].

Change-Id: Ic5195d729609030e7aadee6afe234da476f4722b
Add equals and hashCode to UaaAuthenticationDetails

Change-Id: I9c6e54a530fd36493e34c4ffe8153eb71e1e73e1
Fix sample app to work with new login server URL

Change-Id: Ia69e2a25fe9e7fe1c6db65a07d467f1eea88781c
Use different version # for feature branch.

Change-Id: I95a2c6983b5f86483b659766640db7453dabf660
Add extra gatling vmc login failure scenarios.

Change-Id: I1dbc2e6f725c30d32946ca5e17e27a481eed34c6
Gatling report bug workaround.

Removed brackets from request names.

Change-Id: I47a775280ffe7e5a661f5557972acc37199acf4e
[cfid-256] Implement group member roles as a legitimate SCIM extension.

The SCIM spec allows for extension to the core schema in the form of new top-level
attributes, but not sub-attributes for existing top-level attributes. This makes the
'authorities' sub-attribute of the SCIM group's 'members' attribute a spec violation.

This change [#38709619] makes the SCIM Groups API spec compliant by removing the
authorities sub-attribute and instead adding top-level attributes for different type of
group members, like 'readers', 'writers' etc.

In addition, this change partially addresses [cfid-48][#35352689] - by having the custom
JSON deserializer for ScimGroup treat field names in a case-insensitive manner.

Change-Id: Icabb46ab2a2dcb3d3913bd6c48549e730d22a314
[cfid-48] Make ScimUser JSON attribute names case-insensitive.

Fixes a part of [#35352689].

Change-Id: I16cfe702ed839166feb5973d2f72dd1c5a6e1a8c
Merge "[cfid-256] Implement group member roles as a legitimate SCIM extension." into develop
Merge "Add equals and hashCode to UaaAuthenticationDetails" into develop
Merge "Fix sample app to work with new login server URL" into develop
Changed authorization to record approvals and denials

Authorization approvals and denials are stored per user and client.

The user is prompted again if the user's request changes or if the
approvals expire.

The default approval expiry is set to is one month.

[#41106309]

Conflicts:
	common/src/main/java/org/cloudfoundry/identity/uaa/oauth/authz/Approval.java
	common/src/test/java/org/cloudfoundry/identity/uaa/oauth/authz/ApprovalsAdminEndpointsTests.java

Change-Id: Ic4ea20a086c5fd7203d7abc55e8b39c6da5f8c4d
Merge "[cfid-48] Make ScimUser JSON attribute names case-insensitive." into develop
[cfid-447] Fix NPE while deserializing scim group with no members.

Fixes [#41614517].

Change-Id: Iea9c7f2ca8e83456b55bda69f9ffa58d62a0b268
Merge "[cfid-447] Fix NPE while deserializing scim group with no members." into develop
Fix the user managed authorization feature to work with older login servers

[cfid-450] Fix the broken integration test
[cfid-451] If the approval handler gets an approval from a page with no scopes
explicitly mentioned, it approves all the requested scopes.

[#41685973]
[#41686335]

Change-Id: I11343ae510f073eec8305a9596fbef89a1a1314a