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

Merge develop to master #1403

Merged
merged 178 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
ba8f41b
Bump ua-parser-js from 1.0.32 to 1.0.33 in /powerauth-webflow
dependabot[bot] Jan 24, 2023
ea79ddb
Fix #1201: Set release version to 1.5.0-SNAPSHOT
banterCZ Dec 20, 2022
1a4b8d3
Merge pull request #1206 from wultra/issues/1201-version-1.5.0-SNAPSHOT
banterCZ Jan 31, 2023
c9db908
Fix #1183: Update to Spring Boot 2.7.8
banterCZ Dec 9, 2022
596e6e6
Merge pull request #1184 from wultra/issues/1183-spring-boot-2.7.6
banterCZ Feb 1, 2023
1e534c2
Fix #1229: Drop MySQL Support
banterCZ Jan 30, 2023
804e483
Merge pull request #1230 from wultra/issues/1229-drop-mysql
banterCZ Feb 6, 2023
ee13205
Fix #1235: Update moneta dependency to 1.4.2
banterCZ Feb 16, 2023
61f8ea2
Merge pull request #1236 from wultra/issues/1235-update-moneta
banterCZ Feb 16, 2023
9847e41
Bump webpack from 5.75.0 to 5.76.0 in /powerauth-webflow
dependabot[bot] Mar 15, 2023
171e250
Merge pull request #1239 from wultra/dependabot/npm_and_yarn/poweraut…
petrdvorak Mar 16, 2023
f09d9c6
Merge pull request #1228 from wultra/dependabot/npm_and_yarn/poweraut…
romanstrobl Mar 21, 2023
a6b36dc
Fix #1241: Prefer Base64 Java 8 APIs over Guava
banterCZ Mar 28, 2023
f249bce
Merge pull request #1242 from wultra/issues/1241-java-util-base64
banterCZ Mar 28, 2023
af2c7a7
Fix #1243: Replace deprecated spring.resources.cache.cachecontrol.max…
banterCZ Mar 29, 2023
6bc4164
Merge pull request #1244 from wultra/issues/1243-deprecated-property
banterCZ Mar 29, 2023
0b8f0fe
Fix #1246: Turn off auto-commit
banterCZ Mar 30, 2023
3561248
Add dependabot configuration (#1248)
banterCZ Apr 3, 2023
3a0f9a7
Bump @snyk/protect from 1.1080.0 to 1.1133.0 in /powerauth-webflow
dependabot[bot] Apr 3, 2023
9978074
Bump maven-javadoc-plugin from 3.4.1 to 3.5.0
dependabot[bot] Apr 3, 2023
0f2759c
Bump passay from 1.6.1 to 1.6.3
dependabot[bot] Apr 3, 2023
627d417
Bump babel-loader from 9.1.0 to 9.1.2 in /powerauth-webflow
dependabot[bot] Apr 3, 2023
499e6f6
Bump jakarta.interceptor-api from 1.2.5 to 2.1.0
dependabot[bot] Apr 3, 2023
cff401b
Merge pull request #1253 from wultra/dependabot/maven/org.passay-pass…
dependabot[bot] Apr 3, 2023
e257604
Bump spring-boot-starter-parent from 2.7.8 to 2.7.10
dependabot[bot] Apr 3, 2023
775cc3b
Merge pull request #1259 from wultra/dependabot/maven/org.springframe…
dependabot[bot] Apr 3, 2023
ddf4500
Issues/1240 liquibase (#1245)
banterCZ Apr 3, 2023
020fc1c
Merge pull request #1247 from wultra/issues/1246-autocommit
banterCZ Apr 3, 2023
2d7c64e
Merge pull request #1255 from wultra/dependabot/npm_and_yarn/poweraut…
romanstrobl Apr 3, 2023
5efe348
Merge pull request #1250 from wultra/dependabot/npm_and_yarn/poweraut…
romanstrobl Apr 3, 2023
28ffd52
Merge pull request #1251 from wultra/dependabot/maven/org.apache.mave…
romanstrobl Apr 3, 2023
6b81d0f
Merge pull request #1258 from wultra/dependabot/maven/jakarta.interce…
romanstrobl Apr 3, 2023
1e4fbf2
Fix #1260: Remove dependency jakarta.interceptor-api
banterCZ Apr 4, 2023
cee1e96
Merge pull request #1261 from wultra/issues/1260-remove-interceptor-api
banterCZ Apr 4, 2023
0fad687
Fix #1262: Use @Transactional annotation from Spring
banterCZ Apr 6, 2023
6206d5f
Merge pull request #1263 from wultra/issues/1262-spring-transactional…
banterCZ Apr 11, 2023
99624c2
Bump bc.version from 1.72 to 1.73
dependabot[bot] Apr 17, 2023
12d5c94
Merge pull request #1271 from wultra/dependabot/maven/bc.version-1.73
dependabot[bot] Apr 17, 2023
c6cdd17
Bump axios from 0.27.2 to 1.4.0 in /powerauth-webflow
dependabot[bot] May 1, 2023
c83379b
Bump snyk from 1.1080.0 to 1.1152.0 in /powerauth-webflow
dependabot[bot] May 8, 2023
626274b
Bump maven-surefire-plugin from 2.22.2 to 3.1.0
dependabot[bot] May 8, 2023
bedc3c6
Fix #1269: Migrate to Spring Boot 3 (#1279)
romanstrobl May 11, 2023
afcc2cd
Merge pull request #1280 from wultra/dependabot/npm_and_yarn/poweraut…
romanstrobl May 11, 2023
831ceea
Merge pull request #1283 from wultra/dependabot/maven/org.apache.mave…
romanstrobl May 11, 2023
a4be743
Fix axios compilation issues
romanstrobl May 11, 2023
d38fc6e
Merge pull request #1277 from wultra/dependabot/npm_and_yarn/poweraut…
romanstrobl May 11, 2023
ea93302
Fix #1278: Add PostgreSQL JDBC driver to war
banterCZ May 9, 2023
e42bf00
Merge pull request #1287 from wultra/issues/1278-postgres-dependency
banterCZ May 11, 2023
66d693e
Fix #1285: Change configuration of ObjectMapper at RestClientConfigur…
banterCZ May 9, 2023
f3219d0
Merge pull request #1286 from wultra/issues/1285-RestClientConfig
banterCZ May 11, 2023
fdd26a8
Fix #1284: Review Java warnings
banterCZ May 11, 2023
2cfee73
Merge pull request #1289 from wultra/issues/1284-java-warnings
banterCZ May 11, 2023
484d643
Fix #1290: Hardcoded client ID authorization URL in demo client
romanstrobl May 12, 2023
37d9b8e
Use @RequiredArgsConstructor
romanstrobl May 12, 2023
60af9ba
Merge pull request #1291 from wultra/issues/1290-hardcoded-client-id
romanstrobl May 12, 2023
00d3f50
Bump @babel/preset-env from 7.20.2 to 7.21.5 in /powerauth-webflow
dependabot[bot] May 15, 2023
3354615
Bump react-device-detect from 2.2.2 to 2.2.3 in /powerauth-webflow
dependabot[bot] May 15, 2023
cfcd69f
Bump @babel/core from 7.20.7 to 7.21.8 in /powerauth-webflow
dependabot[bot] May 15, 2023
4f16f5b
Bump @snyk/protect from 1.1133.0 to 1.1155.0 in /powerauth-webflow
dependabot[bot] May 15, 2023
501b566
Merge pull request #1296 from wultra/dependabot/npm_and_yarn/poweraut…
romanstrobl May 15, 2023
b05f44b
Merge pull request #1293 from wultra/dependabot/npm_and_yarn/poweraut…
romanstrobl May 15, 2023
edb8d2e
Merge branch 'develop' into dependabot/npm_and_yarn/powerauth-webflow…
romanstrobl May 15, 2023
4ed792c
Merge pull request #1295 from wultra/dependabot/npm_and_yarn/poweraut…
romanstrobl May 15, 2023
0f00d71
Merge pull request #1294 from wultra/dependabot/npm_and_yarn/poweraut…
romanstrobl May 15, 2023
3af3abc
Fix #1297: Delete of user contacts is not working properly
romanstrobl May 15, 2023
4645cb0
Improve assert
romanstrobl May 15, 2023
a7bb222
Merge pull request #1298 from wultra/issues/1297-remove-orphaned
romanstrobl May 15, 2023
abd2b78
Remove OWASP Dependency Check GitHub Action
banterCZ May 16, 2023
19b0119
Merge pull request #1299 from wultra/issues/remove-owasp
banterCZ May 16, 2023
9d0e91d
Fix #1300: Coverity: Dereference null return value AuthenticationService
banterCZ May 16, 2023
d8556e6
Fix #1302: Pass user contacts to data adapter when sending OTP
petrdvorak May 17, 2023
d92e541
Add javax validation dependency
petrdvorak May 17, 2023
eb0ab53
Merge develop
petrdvorak May 17, 2023
e441e40
Merge pull request #1301 from wultra/issues/1300-coverity-npe
banterCZ May 18, 2023
5af1ee0
Fix typo
petrdvorak May 19, 2023
31f5889
Merge pull request #1303 from wultra/issues/1302-contacts
petrdvorak May 19, 2023
5b59856
Fix #1304: Update documentation for soft and hard limits in credentia…
romanstrobl May 19, 2023
254ed75
Interpret zero value as no limit
romanstrobl May 19, 2023
7538811
Merge pull request #1306 from wultra/issues/1304-update-documentation…
romanstrobl May 19, 2023
e70b436
Bump spring-security-oauth2-authorization-server from 1.0.2 to 1.1.0
dependabot[bot] May 22, 2023
a6ac09a
Merge pull request #1312 from wultra/dependabot/maven/org.springframe…
romanstrobl May 22, 2023
8d9cccb
Fix #1313: Add new text elements in login SCA flow
zcgandcomp May 29, 2023
9f55886
Fix #1312: The initial load of the react app ocasionally loose the se…
zcgandcomp May 29, 2023
a4e1447
Merge pull request #1322 from wultra/issues/#1321-session-terminated-…
zcgandcomp Jun 1, 2023
014c934
Fix #1328: The browser language doesn't default to set of supported l…
zcgandcomp Jun 1, 2023
b69abcc
Fix #1324: Allow case insensitive username comparison (#1327)
petrdvorak Jun 1, 2023
7187100
Fix #1334: Wrong text for RO and UK language messages
zcgandcomp Jun 1, 2023
986446e
Merge pull request #1336 from wultra/issue/#1334-incorrect-message-files
zcgandcomp Jun 2, 2023
ace3f4d
Fix #1344: Failing test testGenerateRandomPin
romanstrobl Jun 6, 2023
02c4289
Fix #1346: Update Spring Boot to version 3.1
romanstrobl Jun 6, 2023
07748e4
Fix #1348: Error while loading lang.json
romanstrobl Jun 6, 2023
75429f0
Fix #1352: Double alert for unsupported browser in Romanian language
romanstrobl Jun 6, 2023
d37711f
Merge pull request #1353 from wultra/issues/1352-double-warning-ro
romanstrobl Jun 6, 2023
6409b81
Add final keyword
romanstrobl Jun 7, 2023
72ee096
Merge pull request #1347 from wultra/issues/1346-update-spring-boot
romanstrobl Jun 7, 2023
b8c4b68
Merge pull request #1349 from wultra/issues/1348-error-loading-lang-json
romanstrobl Jun 7, 2023
259dcf7
Merge pull request #1345 from wultra/issues/1344-failing-test-pin-use…
romanstrobl Jun 7, 2023
736c698
Fix #1356: DB script is not working with new Spring authorization server
romanstrobl Jun 7, 2023
4305e43
Update Oracle DDL
romanstrobl Jun 7, 2023
16efc37
Fix #1319: Improve the way to hide optional element
zcgandcomp Jun 7, 2023
1038dbd
Add hr separator in sms component
zcgandcomp Jun 7, 2023
ad0d8f5
Fix #1351: Incorrect default color for language settings
zcgandcomp Jun 7, 2023
6048cf1
Add unique constraints and migration for Oracle
romanstrobl Jun 8, 2023
e9091de
Merge pull request #1358 from wultra/issues/#1351-default-lang-select…
zcgandcomp Jun 11, 2023
3ec2c69
Bump maven-surefire-plugin from 3.1.0 to 3.1.2
dependabot[bot] Jun 12, 2023
6a7b049
Fix Liquibase changesets and DDL scripts
romanstrobl Jun 12, 2023
ff42c99
Fix initial data
romanstrobl Jun 12, 2023
40758e6
Bump bc.version from 1.73 to 1.74
dependabot[bot] Jun 19, 2023
fa90446
Merge pull request #1365 from wultra/dependabot/maven/bc.version-1.74
dependabot[bot] Jun 19, 2023
5d3512c
Bump spring-security-oauth2-authorization-server from 1.1.0 to 1.1.1
dependabot[bot] Jun 26, 2023
cee8929
Bump bc.version from 1.74 to 1.75
dependabot[bot] Jun 26, 2023
6ac655b
Merge pull request #1372 from wultra/dependabot/maven/bc.version-1.75
dependabot[bot] Jun 26, 2023
bcea1e9
Fix #1367: Invalid constraint for audit_type (#1374)
jandusil Jul 10, 2023
db00949
Bump semver from 6.3.0 to 6.3.1 in /powerauth-webflow
dependabot[bot] Jul 14, 2023
5fda4ae
Bump org.springframework.boot:spring-boot-starter-parent
dependabot[bot] Jul 21, 2023
d3fef70
Merge pull request #1378 from wultra/dependabot/maven/org.springframe…
dependabot[bot] Jul 21, 2023
91822f2
Make version of spring-security-oauth2-authorization-server implicit …
banterCZ Jul 28, 2023
e6e05ba
Merge pull request #1362 from wultra/dependabot/maven/org.apache.mave…
dependabot[bot] Jul 28, 2023
722ba2d
Merge pull request #1371 from wultra/dependabot/maven/org.springframe…
dependabot[bot] Jul 28, 2023
0fbba19
Fix #1380: Make versions of maven plugins implicit
banterCZ Jul 28, 2023
71e1f4a
Merge pull request #1377 from wultra/dependabot/npm_and_yarn/poweraut…
dependabot[bot] Jul 28, 2023
a9b126d
Fix #1337: Add favicon.ico to the accessible resources (#1338)
petrdvorak Jul 28, 2023
42d559d
Remove travis configuration
banterCZ Jul 28, 2023
bb9a5ea
Fix #1383: Open openapi documentation endpoint does not work
banterCZ Jul 28, 2023
3e56060
Fix #1385: WebFlow doest not start with Spring Security 6.1.2
banterCZ Jul 28, 2023
f1fddf8
Fix #1323: NULL the username when removing the user / user credentials
banterCZ Jul 28, 2023
0da4431
Fix #1388: Hibernate no longer supports disabling the use of new ID g…
banterCZ Jul 28, 2023
5b8943b
Fix #1390: Replace deprecated API in security configuration
banterCZ Jul 28, 2023
c21382c
Merge pull request #1357 from wultra/issues/1356-handle-tpp-engine-co…
romanstrobl Jul 29, 2023
77bc20e
Merge pull request #1391 from wultra/issues/1390-deprecated-api
banterCZ Jul 31, 2023
5b1c3f7
Merge pull request #1389 from wultra/issues/1388-hibernate-generator-…
banterCZ Jul 31, 2023
903be64
Merge pull request #1387 from wultra/issues/1323-user-removal
banterCZ Jul 31, 2023
c4645d4
Merge pull request #1386 from wultra/issues/1385-spring-security
banterCZ Jul 31, 2023
d74974b
Merge pull request #1384 from wultra/issues/1383-swagger-ui-endpoint
banterCZ Jul 31, 2023
5cdf595
Merge pull request #1382 from wultra/issues/remove-travis
banterCZ Jul 31, 2023
1199d53
Merge pull request #1381 from wultra/issues/1380-maven-plugin-version
banterCZ Jul 31, 2023
85ab92a
Bump bc.version from 1.75 to 1.76
dependabot[bot] Aug 7, 2023
cdb2e6a
Bump org.springdoc:springdoc-openapi-starter-webmvc-ui
dependabot[bot] Aug 7, 2023
faa1351
Merge pull request #1392 from wultra/dependabot/maven/bc.version-1.76
dependabot[bot] Aug 7, 2023
47be2e3
Merge pull request #1393 from wultra/dependabot/maven/org.springdoc-s…
dependabot[bot] Aug 7, 2023
a1b857e
Fix #1394: Error while loading lang.json (#1395)
zcgandcomp Aug 7, 2023
b71974a
Fix #1397: Update documentation for PUT /credential (#1399)
zcgandcomp Aug 15, 2023
169a09b
Bump org.springframework.boot:spring-boot-starter-parent
dependabot[bot] Aug 24, 2023
306515f
Fix #1400: Add CodeQL Analysis (#1401)
jandusil Aug 24, 2023
f5013e7
Fix #1404: Set release version to 1.5.0
banterCZ Aug 25, 2023
1b80a9d
Merge pull request #1402 from wultra/dependabot/maven/org.springframe…
dependabot[bot] Aug 25, 2023
58084cd
Fix #1408: Upgrade Guava to 32
banterCZ Aug 25, 2023
4a7ef31
Merge pull request #1409 from wultra/issues/1408-guava-32
banterCZ Sep 4, 2023
aec192c
Fix #1410: Add liquibase tag 1.5.0
banterCZ Sep 5, 2023
e696842
Fix formatting of migration instructions
banterCZ Sep 13, 2023
f9da9c1
Merge pull request #1414 from wultra/issues/migration-instruction-for…
banterCZ Sep 13, 2023
ba13ce0
Fix #1415: Wrong schema in Web-Flow-Configuration.md
banterCZ Sep 14, 2023
d7edfff
Fix #1417: Document Postgres driver
banterCZ Sep 14, 2023
89df1bd
Merge pull request #1416 from wultra/issues/1415-postgres-schema
banterCZ Sep 14, 2023
54917e1
Merge pull request #1418 from wultra/issues/1417-document-postgres-dr…
banterCZ Sep 14, 2023
9afc41b
Fix #1419: Redundant call of Duration.ofSeconds
banterCZ Sep 14, 2023
20fc398
Merge pull request #1420 from wultra/issues/1419-redundant-duration
banterCZ Sep 15, 2023
b260026
Fix #1343: SMS OTP confirmation button remains enabled after error
banterCZ Sep 15, 2023
9a473d9
Merge pull request #1422 from wultra/issues/1343-disable-button-after…
banterCZ Sep 15, 2023
a0be6b3
Fix #1363: The entered credentials are removed upon submit #1363
banterCZ Sep 18, 2023
e3d07e5
Fix #1425: Prefer specialized RequestMapping annotations
banterCZ Sep 19, 2023
e9120c0
Merge pull request #1424 from wultra/issues/1363-clear-form-after-req…
banterCZ Sep 20, 2023
593036c
Merge pull request #1426 from wultra/issues/1425-requestMapping-annot…
banterCZ Sep 20, 2023
90a9ff0
Fix #1427: Restrict import of javax.annotation
banterCZ Sep 20, 2023
02cee77
Fix #1412: Review liquibase scripts (#1421)
jandusil Sep 21, 2023
0aa82dc
Bump org.passay:passay from 1.6.3 to 1.6.4
dependabot[bot] Sep 25, 2023
4192885
Merge pull request #1429 from wultra/dependabot/maven/org.passay-pass…
dependabot[bot] Sep 25, 2023
68a47ac
Merge pull request #1428 from wultra/issues/1427-restrict-javax-import
banterCZ Sep 25, 2023
47d1756
Merge pull request #1411 from wultra/issues/1410-liquibase-tag
banterCZ Sep 26, 2023
f213c1d
Fix #1406: Update dependencies (#1407)
banterCZ Sep 26, 2023
52c5ab4
Fix #1434: Add logstash-logback-encoder dependency
banterCZ Oct 3, 2023
dea6f99
Merge pull request #1435 from wultra/issues/1434-add-logstash
banterCZ Oct 3, 2023
ada3e6e
Fix #1436: WebFlow Client error on startup due to MVC request matchers
romanstrobl Oct 3, 2023
6da70c5
Fix #1439: Wrong bouncycastle version in jboss deployment
banterCZ Oct 4, 2023
87241f4
Merge pull request #1437 from wultra/issues/1436-spring-security-matc…
romanstrobl Oct 4, 2023
1506a53
Fix #1433: Update JavaScript dependencies (#1438)
romanstrobl Oct 4, 2023
dcd7b77
Merge pull request #1440 from wultra/issues/1439-jboss-deployment
banterCZ Oct 4, 2023
0546bdb
Merge pull request #1405 from wultra/issues/1404-version-1.5.0
romanstrobl Oct 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
labels:
- "java"
- "dependencies"
- package-ecosystem: "npm"
allow:
- dependency-type: "direct"
directory: "/powerauth-webflow"
schedule:
interval: "weekly"
labels:
- "npm"
- "dependencies"
22 changes: 22 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: "CodeQL"

on:
workflow_dispatch:
push:
branches: [ 'develop', 'master', 'releases/**' ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ 'develop', 'master', 'releases/**' ]
schedule:
- cron: '0 2 * * 4'

jobs:
codeql-analysis:
uses: wultra/wultra-infrastructure/.github/workflows/codeql-analysis.yml@develop
secrets: inherit
with:
languages: "['java', 'javascript']"
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
12 changes: 0 additions & 12 deletions .github/workflows/owas-dependecy-check.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .run/NextStepApplication.run.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="NextStepApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<option name="ACTIVE_PROFILES" value="dev" />
<module name="powerauth-nextstep" />
<option name="SPRING_BOOT_MAIN_CLASS" value="io.getlime.security.powerauth.app.nextstep.NextStepApplication" />
<option name="VM_PARAMETERS" value="-Dserver.servlet.context-path=/powerauth-nextstep -Dserver.port=9082" />
<method v="2">
<option name="Make" enabled="true" />
<option name="Maven.BeforeRunTask" enabled="true" file="$PROJECT_DIR$/powerauth-nextstep/pom.xml" goal="process-resources" />
</method>
</configuration>
</component>
2 changes: 2 additions & 0 deletions .run/PowerAuthWebFlowApplication.run.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="PowerAuthWebFlowApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
<option name="ACTIVE_PROFILES" value="dev" />
<module name="powerauth-webflow" />
<option name="SPRING_BOOT_MAIN_CLASS" value="io.getlime.security.powerauth.app.webflow.PowerAuthWebFlowApplication" />
<option name="VM_PARAMETERS" value="-Dserver.servlet.context-path=/powerauth-webflow -Dserver.port=9080" />
<method v="2">
<option name="Make" enabled="true" />
<option name="Maven.BeforeRunTask" enabled="true" file="$PROJECT_DIR$/powerauth-webflow/pom.xml" goal="process-resources" />
</method>
</configuration>
</component>
2 changes: 2 additions & 0 deletions .run/TppEngineApplication.run.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TppEngineApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<option name="ACTIVE_PROFILES" value="dev" />
<module name="powerauth-tpp-engine" />
<option name="SPRING_BOOT_MAIN_CLASS" value="io.getlime.security.powerauth.app.tppengine.TppEngineApplication" />
<option name="VM_PARAMETERS" value="-Dserver.servlet.context-path=/tpp-engine -Dserver.port=9081" />
<method v="2">
<option name="Make" enabled="true" />
<option name="Maven.BeforeRunTask" enabled="true" file="$PROJECT_DIR$/powerauth-tpp-engine/pom.xml" goal="process-resources" />
</method>
</configuration>
</component>
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# PowerAuth 2.0 Web Flow
# PowerAuth Web Flow

PowerAuth 2.0 Web Flow is a federated authentication and authorization server for web application. It allows user authentication and operation authorization using OAuth 2.0 protocol, and it supports multiple authentication methods, such as username / password combination, PowerAuth 2.0 data signature or SMS OTP.
PowerAuth Web Flow is an authentication and authorization server for web applications. It allows user authentication and operation authorization using OAuth 2.1 protocol, and it supports multiple authentication methods, such as username / password verification, PowerAuth data signature verification (both online and offline), and OTP code verification. Web Flow supports multi-factor authentication and enforces Strong Customer Authentication (SCA) when required by the use case, e.g. in case of protection of PSD2 APIs.

Typical use-case for the software stack is securing the RESTful API interfaces, or authentication / authorization for internet banking via central authentication / authorization component.
The typical use-case for the software stack is securing RESTful API interfaces, or authentication / authorization for internet banking via a central authentication / authorization component.

## Documentation

Expand Down
49 changes: 49 additions & 0 deletions doc-private/Developer-How-To-Start.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@
- Open [http://localhost:9080/powerauth-webflow/actuator/health](http://localhost:9080/powerauth-webflow/actuator/health) and you should get `{"status":"UP"}`


### Database

Database changes are driven by Liquibase.

This is an example how to manually check the Liquibase status.
Important and fixed parameter is `changelog-file`.
Others (like URL, username, password) depend on your environment.

```shell
liquibase --changelog-file=./docs/db/changelog/changesets/powerauth-webflow/db.changelog-module.xml --url=jdbc:postgresql://localhost:5432/powerauth --username=powerauth --hub-mode=off status
```


## TPP Engine


Expand All @@ -21,6 +34,19 @@
- Open [http://localhost:9081/tpp-engine/actuator/health](http://localhost:9081/tpp-engine/actuator/health) and you should get `{"status":"UP"}`


### Database

Database changes are driven by Liquibase.

This is an example how to manually check the Liquibase status.
Important and fixed parameter is `changelog-file`.
Others (like URL, username, password) depend on your environment.

```shell
liquibase --changelog-file=./docs/db/changelog/changesets/powerauth-tpp-engine/db.changelog-module.xml --url=jdbc:postgresql://localhost:5432/powerauth --username=powerauth --hub-mode=off status
```


## NextStep


Expand All @@ -31,6 +57,29 @@
- Open [http://localhost:9082/powerauth-nextstep/actuator/health](http://localhost:9082/powerauth-nextstep/actuator/health) and you should get `{"status":"UP"}`


### Database

Database changes are driven by Liquibase.

This is an example how to manually check the Liquibase status.
Important and fixed parameter is `changelog-file`.
Others (like URL, username, password) depend on your environment.

```shell
liquibase --changelog-file=./docs/db/changelog/changesets/powerauth-nextstep/db.changelog-module.xml --url=jdbc:postgresql://localhost:5432/powerauth --username=powerauth --hub-mode=off status
```

When all user identities are stored in Next Step, add foreign keys for user identity manually (they are not part of liquibase changesets).

```sql
-- Foreign keys for user identity, to be used only when all user identities are stored in Next Step
ALTER TABLE ns_operation ADD CONSTRAINT ns_operation_user_fk FOREIGN KEY (user_id) REFERENCES ns_user_identity (user_id);
ALTER TABLE ns_user_prefs ADD CONSTRAINT ns_user_prefs_fk FOREIGN KEY (user_id) REFERENCES ns_user_identity (user_id);
ALTER TABLE ns_otp_storage ADD CONSTRAINT ns_otp_user_fk FOREIGN KEY (user_id) REFERENCES ns_user_identity (user_id);
ALTER TABLE ns_authentication ADD CONSTRAINT ns_auth_user_fk FOREIGN KEY (user_id) REFERENCES ns_user_identity (user_id);
```


## Webflow Client


Expand Down
8 changes: 4 additions & 4 deletions docs/Basic-Definitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ but this has not generally been true for Internet transactions across the EU pri

### Operation

A new operation is created in the Next Step application with every authentication process in Web Flow. The operation is mapped 1:1 to the OAuth 2.0 dance.
A new operation is created in the Next Step application with every authentication process in Web Flow. The operation is mapped 1:1 to the OAuth 2.1 dance.

There are two possible outcomes of an operation:
- **Operation succeeds** - the HTTP session becomes authenticated and the user is redirected to the original application with a successful result
Expand Down Expand Up @@ -270,9 +270,9 @@ The effective number of remaining attempts is the lower of the two above mention
### HTTP session

The HTTP session is used in Web Flow in following ways:
- A client may create an operation with operation data before the OAuth 2.0 authentication is started and store assigned operationId in HTTP session in the `operationId` attribute. This attribute is picked when authentication is started and Web Flow continues an already existing operation. In case the `operationId` attribute is not found, Web Flow creates a new login operation with default operation data.
- During the authentication process, the `PENDING_AUTH_OBJECT` attribute stored in HTTP session is updated with OAuth 2.0 `UserOperationAuthentication` token which contains the most current state of authentication.
- When the authentication process is successfully completed, the HTTP session becomes authenticated with the OAuth 2.0 `UserOperationAuthentication` token.
- A client may create an operation with operation data before the OAuth 2.1 authentication is started and store assigned operationId in HTTP session in the `operationId` attribute. This attribute is picked when authentication is started and Web Flow continues an already existing operation. In case the `operationId` attribute is not found, Web Flow creates a new login operation with default operation data.
- During the authentication process, the `PENDING_AUTH_OBJECT` attribute stored in HTTP session is updated with OAuth 2.1 `UserOperationAuthentication` token which contains the most current state of authentication.
- When the authentication process is successfully completed, the HTTP session becomes authenticated with the OAuth 2.1 `UserOperationAuthentication` token.
- When the authentication process fails, the `PENDING_AUTH_OBJECT` attribute is removed from HTTP session. The HTTP session does not become authenticated.

The HTTP session is also used for storing temporary data during operation.
Expand Down
10 changes: 5 additions & 5 deletions docs/Components.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ Data Adapter handles following use cases:
- verify OTP authorization code from SMS
- authenticate user using user ID, password and OTP authorization code
- verify a client TLS certificate
- initialize OAuth 2.0 consent form
- create OAuth 2.0 consent form
- validate OAuth 2.0 consent form options
- save OAuth 2.0 consent form options
- initialize OAuth 2.1 consent form
- create OAuth 2.1 consent form
- validate OAuth 2.1 consent form options
- save OAuth 2.1 consent form options
- execute an anti-fraud system (AFS) action and react on response from AFS

For more information see the [Web Flow customization project](https://github.com/wultra/powerauth-webflow-customization)
Expand All @@ -76,7 +76,7 @@ For more information see the [Web Flow customization project](https://github.com

Third Party Provider (TPP) Engine implements following functionality:
- third party provider registry
- storage of OAuth 2.0 consents
- storage of OAuth 2.1 consents

TPP Engine is available as a separate application and its deployment is optional.

Expand Down
41 changes: 3 additions & 38 deletions docs/Configuring-Next-Step.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Following authentication methods are available:
- `POWERAUTH_TOKEN` - user authorizes the operation using PowerAuth mobile token
- `SMS_KEY` - user authorizes the operation using SMS message with OTP
- `APPROVAL_SCA` - operation approval with either mobile token or SMS and password supporting strong customer authentication
- `CONSENT` - OAuth 2.0 consent form with options to approve by the user
- `CONSENT` - OAuth 2.1 consent form with options to approve by the user
- `OTP_CODE` - a generic OTP code authentication method which may be delivered by other channel than SMS

The following parameters can be configured:
Expand Down Expand Up @@ -54,30 +54,6 @@ VALUES ('OTP_CODE', 10, 0, NULL, NULL, 1, 3, 1, 0, 'method.otpCode');

```

MySQL:
```sql
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
VALUES ('INIT', 1, FALSE, NULL, NULL, FALSE, NULL, FALSE, FALSE, NULL);
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
VALUES ('USER_ID_ASSIGN', 2, FALSE, NULL, NULL, FALSE, NULL, FALSE, FALSE, NULL);
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
VALUES ('USERNAME_PASSWORD_AUTH', 3, FALSE, NULL, NULL, TRUE, 5, TRUE, FALSE, 'method.usernamePassword');
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
VALUES ('SHOW_OPERATION_DETAIL', 4, FALSE, NULL, NULL, FALSE, NULL, TRUE, FALSE, 'method.showOperationDetail');
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
VALUES ('POWERAUTH_TOKEN', 5, TRUE, 1, FALSE, TRUE, 5, TRUE, TRUE, 'method.powerauthToken');
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
VALUES ('SMS_KEY', 6, FALSE, NULL, NULL, TRUE, 5, TRUE, FALSE, 'method.smsKey');
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
VALUES ('CONSENT', 7, FALSE, NULL, NULL, TRUE, 5, TRUE, FALSE, 'method.consent');
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
VALUES ('LOGIN_SCA', 8, FALSE, NULL, NULL, TRUE, 5, TRUE, TRUE, 'method.loginSca');
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
VALUES ('APPROVAL_SCA', 9, FALSE, NULL, NULL, TRUE, 5, TRUE, TRUE, 'method.approvalSca');
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
VALUES ('OTP_CODE', 10, FALSE, NULL, NULL, TRUE, 3, TRUE, FALSE, 'method.otpCode');
```

PostgreSQL:
```sql
INSERT INTO ns_auth_method (auth_method, order_number, check_user_prefs, user_prefs_column, user_prefs_default, check_auth_fails, max_auth_fails, has_user_interface, has_mobile_token, display_name_key)
Expand Down Expand Up @@ -111,11 +87,6 @@ Oracle:
INSERT INTO ns_organization (organization_id, display_name_key, is_default, order_number) VALUES ('DEFAULT', null, 1, 1);
```

MySQL:
```sql
INSERT INTO ns_organization (organization_id, display_name_key, is_default, order_number) VALUES ('DEFAULT', null, TRUE, 1);
```

The default configuration assigns the `DEFAULT` organization to all operations. You can define multiple organizations to support
authentication for multiple segments which can have overlapping user IDs, e.g.:

Expand All @@ -125,12 +96,6 @@ INSERT INTO ns_organization (organization_id, display_name_key, is_default, orde
INSERT INTO ns_organization (organization_id, display_name_key, is_default, order_number) VALUES ('SME', 'organization.sme', 0, 2);
```

MySQL:
```sql
INSERT INTO ns_organization (organization_id, display_name_key, is_default, order_number) VALUES ('RETAIL', 'organization.retail', TRUE, 1);
INSERT INTO ns_organization (organization_id, display_name_key, is_default, order_number) VALUES ('SME', 'organization.sme', FALSE, 2);
```

Such configuration defines two organizations `RETAIL` and `SME`. The user sees two tabs when authenticating with localized labels
based on keys `organization.retail` and `organization.sme`. The user can switch the organization against which the authentication is performed.
The `RETAIL` organization is the default one (it is preselected in the UI). The order of displayed organizations is defined as
Expand Down Expand Up @@ -210,8 +175,8 @@ The credential policy requires following configuration:
- `username_allowed_pattern` - regular expression for checking the username pattern, use `NULL` value for no check
- `credential_length_min` - minimum length of the credential, use `NULL` value for no limit
- `credential_length_max` - maximum length of the credential, use `NULL` value for no limit
- `limit_soft` - soft limit for failed authentication attempts using credential (credential status `BLOCKED_TEMPORARY` when limit is exceeded), use `0` for no limit
- `limit_hard` - hard limit for failed authentication attempts using credential (credential status `BLOCKED_PERMANENT` when limit is exceeded), use `0` for no limit
- `limit_soft` - soft limit for failed authentication attempts using credential (credential status `BLOCKED_TEMPORARY` when limit is exceeded), use `null` value for no limit (e.g. for development purposes)
- `limit_hard` - hard limit for failed authentication attempts using credential (credential status `BLOCKED_PERMANENT` when limit is exceeded), use `null` value for no limit (e.g. for development purposes)
- `check_history_count` - count of historical credential values which should be checked when changing the credential, use `0` for skipping the check
- `rotation_enabled` - whether credential rotation is enabled
- `rotation_days`- number of days for credential rotation, only specify when credential rotation is enabled
Expand Down
Loading
Loading