When using SAML loggging, ensure that Authentication.principal is of type UaaPrincipal, and that we consider this a user
migration scripts for hsql and mysql. postgres script still needed.
tables identity_zone, identity_provider and client_idp created, added
column oauth_client_details.identity_zone_id, added column
users.identity_provider_id.
removing ENGINE/charset declaration to conform with previous migration
scripts
Using SchemaSpy to generate diagrams. We had to manually add FK
constraints to create the relationships in the diagram; they won't be in
the actual DB.
postgres migration script is almost exactly like hsqldb
cleaning up id columns in mysql. Not sure if this is needed in postgres.
oops. renamed file to .sql
added validation routine which will error out if any id column data
won't fint into char(36) ascii
[#81978984] Added metadata fields to the migrations for creating the identity-zone and identity-provider tables.
Update MultitenantMigrator to insert metadata fields

Signed-off-by: Madhura Bhave <mbhave@gopivotal.com>
Added identity_provider relationship to group_membership to deprecate
group_membership.origin
running the UUID column cleanup in a JdbcMigration so the application
can continue to start up in case of error. If validation fails, you'll
see a WARN level log, eg:
https://gist.github.com/xtreme-will-tran/63bad757093285ef78c0
dropping unique index users.(username,origin)
Create README.md
Update README.md
updated schema diagrams
Revert "dropping unique index users.(username,origin)"
There are too many cascading side effects to this, we will address
this when we're ready to tackle users.identity_provider

This reverts commit 28d3ab06298f6b15f8e4dd0ba7c0766f41cffb3a.
Add integration test for creating an identity zone

Signed-off-by: Rob Szumlakowski <rszumlakowski@pivotal.io>
Move ServerRunning to the common jar

Signed-off-by: Rob Gallagher <rgallagher@pivotallabs.com>
Signed-off-by: Rob Szumlakowski <rszumlakowski@pivotal.io>
Add api for creating zones

[#81978984] https://www.pivotaltracker.com/story/show/81978984

Signed-off-by: Rob Gallagher <rgallagher@pivotallabs.com>
Signed-off-by: Rob Szumlakowski <rszumlakowski@pivotal.io>