The CloudFoundry User Account and Authentication (UAA) Server is an OpenID certified OAuth2 provider that is distributed as a WAR file. In order to provide a more streamlined user experience, this project wraps the WAR file into a Spring Boot application and as such provides an executable JAR that includes both the UAA and an embedded Tomcat instance.
IMPORTANT
This project is not to be used in production environments. It is provided solely as an example / demo.
In order to get started, simply execute the following steps:
$ git clone https://github.com/pivotal/uaa-bundled.git
$ cd uaa-bundled
$ ./mvnw clean install
$ java -jar target/uaa-bundled-1.0.0.BUILD-SNAPSHOT.jar
For customization you can also reference, e.g. a uaa.yml
file, simply specify the respective
environment variable:
$ export CLOUD_FOUNDRY_CONFIG_PATH=/path/to/dev/ldap-uaa-example
For a more detailed sample that uses the UAA to provide security to Spring Cloud Data Flow, please have a look at the Spring Cloud Data Flow LDAP UAA Sample.