forked from callistaenterprise/blog-microservices-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
auth-server.yml
43 lines (35 loc) · 1.49 KB
/
auth-server.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
server:
port: 9999
contextPath: /uaa
ssl:
key-store: classpath:server.jks
key-store-password: password
key-password: password
security.user.password: password
security.user.name: user2
security.oauth2.client:
clientId: acme
clientSecret: acmesecret
authorized-grant-types: authorization_code,refresh_token,implicit,password,client_credentials
scope: webshop
logging.level:
root: WARN
org.springframework.security.oauth2: DEBUG
org.springframework.security.oauth2.config.annotation.web.configurers.FrameworkEndpointHandlerMapping: INFO
org.springframework.security.oauth2.provider.client.ClientCredentialsTokenGranter: DEBUG
org.springframework.security.oauth2.provider.password.ResourceOwnerPasswordTokenGranter: DEBUG
org.springframework.security.oauth2.provider.code.AuthorizationCodeTokenGranter: DEBUG
org.springframework.security.oauth2.provider.implicit.ImplicitTokenGranter: DEBUG
org.springframework.security.oauth2.provider.approval.ApprovalStoreUserApprovalHandler: DEBUG
org.springframework.security.oauth2.provider.endpoint.TokenEndpoint: INFO
org.springframework.security.oauth2.provider.approval.AuthorizationEndpoint: INFO
# Set INFO to see the allocated port
org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer: INFO
org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainer: INFO
se.callista: INFO
---
# For deployment in Docker containers
spring:
profiles: docker
server:
port: 9999