Re: Running/Deploying UAA as a standalone service (not within CloudFoundry environment)


Filip Hanik
 

hi TJ,
because the UAA supports multi tenancy and it denotes a tenant by using a
subdomain, we need to know what the base URL is.
By default it is localhost

so

http://tenant1.localhost:8080/uaa
http://tenant2.localhost:8080/uaa

would support the 'default' zone at localhost, and tenant1,localhost and
tenant2.localhost tenants.

You can add more default host names to (in addition to localhost) by adding
hostnames to a Yaml configuration file.

zones:
internal:
hostnames:
- example.com
- test.com

and this would now also support

example.com (default tenant/zone)
tenant1.example.com (tenant1)
tenant2.example.com (tenant2)

On Fri, Sep 25, 2015 at 10:20 AM, TJ Brown <tjbrown(a)gmail.com> wrote:

I'm trying to evaluate UAA to be used as a user authentication /
authorization service to be used within a microservice architecture but not
within a CloudFoundry environment. When running UAA using

$ ./gradlew run

the application seems to work locally but I can't access it externally.
So, what do I need to configure to allow access from other hosts?

Also, are there instructions / guides / tutorial for how to deploy uaa on
an existing Tomcat server?

Thanks for your help.

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.