Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/21 builtin users #27

Merged
merged 25 commits into from
May 2, 2023
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8ca933a
#21 divided base and jwt config
dk1844 Mar 29, 2023
8548acf
#21 - application.properties replaced by application.yaml
dk1844 Mar 29, 2023
7610416
#21 DummyAuthenticationProvider.scala -> ConfigUsersAuthenticationPro…
dk1844 Mar 30, 2023
5b3a58b
#21 basic UserConfig validation on app startup
dk1844 Apr 13, 2023
d541f0c
#21 basic UserConfig - validation - validates groups presence, may be…
dk1844 Apr 13, 2023
0202ada
#21 cleanup
dk1844 Apr 13, 2023
dbc00db
#21 users config tests started
dk1844 Apr 14, 2023
bd3c403
#21 userconfig validation for duplicates added
dk1844 Apr 18, 2023
a8f570d
#21 jwtConfig custom validation added
dk1844 Apr 18, 2023
970b5cc
#21 added test for ConfigUsersAuthenticationProvider
dk1844 Apr 18, 2023
5cd8a07
#21 removed debug code
dk1844 Apr 18, 2023
b6113d1
#21 debug logging reverted
dk1844 Apr 18, 2023
341867d
#21 invalid algorithm wrapped in ConfigValidationException
dk1844 Apr 18, 2023
83a146e
#21 headers fix
dk1844 Apr 18, 2023
3f37625
Merge branch 'master' into feature/21-builtin-users
dk1844 Apr 21, 2023
ec6d665
#21 buildfix after merge
dk1844 Apr 21, 2023
33a239b
#21 formatting, usersConfig unitTest update (email is now optional)
dk1844 Apr 21, 2023
d14835a
#21 SecurityConfig divided into SecurityConfig and AuthManagerConfig.
dk1844 Apr 25, 2023
dcc45e0
#21 config string "" unification, integers just-# unification
dk1844 Apr 25, 2023
297c29f
#21 introduced sealed trait ConfigValidationResult (with container im…
dk1844 Apr 26, 2023
2799e6f
#21 ConfigValidationResult.failOnValidationError (internally called C…
dk1844 Apr 26, 2023
9ae4b63
Merge branch 'master' into feature/21-builtin-users
dk1844 May 2, 2023
4c1f562
#21 rebase of PR #30 - config build fix
dk1844 May 2, 2023
2e5a790
#21 ldap/hc todo rewording
dk1844 May 2, 2023
003bab5
#21 config groups fix
dk1844 May 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion service/src/main/resources/application.yaml
jakipatryk marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
logingw:
rest:
# Rest General Config
jwt:
exp-time: 4
alg-name: "RS256"
config:
some-key: "BETA"

# Users (config-defined)
users:
known-users:
-
Expand All @@ -19,16 +21,40 @@ logingw:
groups:
- "groupA"
- "groupB"
-
jakipatryk marked this conversation as resolved.
Show resolved Hide resolved
# Rest Auth Config (AD)
auth:
ad:
ldap:
domain: "some.domain.com"
url: "ldaps://some.domain.com:636/"
search-filter: "(samaccountname={1})"

# App Config
spring:
application:
name: "login-gateway"

jmx:
enabled: true
server:
port: 9090

# Health Check Config + JMX Config
springdoc:
show-actuator: true

management:
health:
#TODO: Enable Ldap check when fully Implemented - issue #20
jakipatryk marked this conversation as resolved.
Show resolved Hide resolved
ldap:
enabled: "false"
endpoints:
jmx:
exposure:
include: "health"
web:
exposure:
include: "health"
endpoint:
health:
show-details: "never"