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.


Frans Thamura
 

we modify the uaa (spring security) become OAuth2 Server independently

take a look www.merv.id

the code in github.com/meruvian/yama

F

--
Frans Thamura (曽志胜)
Java Champion
Shadow Master and Lead Investor
Meruvian.
Integrated Hypermedia Java Solution Provider.

Mobile: +628557888699
Blog: http://blogs.mervpolis.com/roller/flatburger (id)

FB: http://www.facebook.com/meruvian
TW: http://www.twitter.com/meruvian / @meruvian
Website: http://www.meruvian.org

"We grow because we share the same belief."

On Fri, Sep 25, 2015 at 11:20 PM, 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.


TJ Brown
 

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.