July 2018
Intermediate to advanced
268 pages
7h 36m
English
In this project, we are using application.yml files and the code is as follows:
server: port: 8080spring: thymeleaf: cache: falsesecurity: oauth2: client: movie-app-client: client-id: oAuthClientAppID client-secret: secret user-authorization-uri: http://localhost:8082/oauth-server/oauth/authorize access-token-uri: http://localhost:8082/oauth-server/oauth/token scope: read, write, movie pre-established-redirect-uri: http://localhost:8080/movie/indexmovie: base-uri: http://localhost:8081/oauth-resource/movie
The very important aspect of this YML file is the movie-app-client properties setup. Again, being a Spring Boot project, it can be run by executing the mvn spring-boot:run command.
Read now
Unlock full access