Commit Graph

168 Commits

Author SHA1 Message Date
Joe DiPol
437fbd730d Update version to 2.1.1-SNAPSHOT (#2462) 2020-10-16 15:37:23 -07:00
Tomas Langer
7f1a1ad865 Disable automatic propagation from security providers (#2357)
* Security providers no long automatically propagate.
* Updated security provider documentation

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-09-30 18:18:45 +02:00
Tomas Langer
5e28f8d87b OIDC fixes (#2378)
* Outbound security disabled in OidcConfig when invoking OIDC identity provider.
* Pre-matching filter now using security executor service instead of jersey async executor service.
* Async executor was triggered by pre-matching security filter, now by test itself.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-09-23 13:40:49 +02:00
Tomas Langer
c93c5cbec4 Added support for remote host and port to jersey and security. (#2368)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-09-17 18:10:33 +02:00
Tomas Langer
3b7e1d0f60 Update javadoc of EvictableCache (#2367)
* Update javadoc

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-09-16 17:58:42 +02:00
Tomas Langer
a36ffc43d3 Support for methods in outbound targets. (#2335)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-09-09 15:00:56 +02:00
Joe DiPol
78eddfe47a Update version to 2.0.3-SNAPSHOT (#2323) 2020-09-04 11:18:57 -07:00
Tomas Langer
ce559644a7 Security CDI extension has higher priority (#2299)
* Security now has higher priority
* Abac now correctly handles validator config
* Other services that expose endpoints have changed priority
* Added an integration test for #2297
2020-08-31 19:03:31 +02:00
Tomas Langer
d67bdc7132 Fix for P-521 curve - wrong id 2.x (#2281)
* Fix for P-521 curve - wrong id.
* JWK can now contain unsupported keys.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-08-28 15:36:59 +02:00
Tomas Langer
4dfb573d17 Support for bean producers in different package than beans that have … (#2241)
* Support for bean producers in different package than beans that have package local methods.
* Update to proxy services
- name is generated with super interface first
- proxy classes are defined using private lookup
- proxy classes are defined using a class loader for weld specific packages

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-08-13 20:54:51 +02:00
Tomas Langer
968923f4fa Security can now be disabled. (#2157)
* Security can now be disabled.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-07-14 02:40:24 +02:00
Joe DiPol
0bb8d792da Bump version to 2.0.2-SNAPSHOT. Update CHANGELOG (#2111)
* Bump version to 2.0.2-SNAPSHOT Update CHANGELOG
2020-06-30 14:47:34 -07:00
Tomas Langer
12cfae97d6 Support for SE mappers in MP. (#2091)
* Support for SE mappers in MP.
* Removed mandatory use of object mapping from security providers.
* Use direct APIs to retrieve booleans.
* Fixes to object mapping support in MP.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-06-26 10:09:06 +02:00
Joe DiPol
8bbe29ecc8 2.0: Update version to 2.0.1-SNAPSHOT. Update CHANGELOG (#2082)
* Update CHANGELOG.md after 2.0.0 release

* Update version to 2.0.1-SNAPSHOT
2020-06-23 11:32:04 -07:00
David Král
babffc61b6 Security level memory leak (#2013)
Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-06-17 12:17:30 -07:00
Tomas Langer
4abd0a3cd6 Feature refactoring (#1944)
* Features simplification.
* Added  excludes
* Moved initialization of log to native image extension
* Log statements for unsupported features in native image

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-06-16 18:21:24 +02:00
Tomas Langer
afa148d9ff Correctly validate mandatory JWT claims. (#2011)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-06-16 15:15:58 +02:00
Daniel Kec
6aaacd4d33 Use EmittingPublisher in OutputStreamPublisher to remove busy waiting (#1900)
* Use EmittingPublisher in OutputStreamPublisher to remove busy waiting
* Tck compliance
* Fix race condition, write/emit is thread-safe
* Deferred request callbacks after onSubscribe
* Forward request callbacks in ready state
* Align to IoMulti api
* Callback as notification when more data is requested by subscriber
* EmittingPublisher race condition fix
* IoMulti api alignment


Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-06-01 20:52:55 +02:00
Tomas Langer
8185c08069 Removed deprecations (#1892)
- Removed deprecated methods
- Updated deprecated comments to clearly mark 2.0.0 deprecations
2020-05-29 11:17:43 +02:00
Daniel Kec
c7f4b317d4 Multi from InputStream (#1770)
Signed-off-by: Daniel Kec <daniel.kec@oracle.com>
2020-05-28 18:02:38 +02:00
Tomas Langer
f463c53e10 Remove deprecations 2 (#1885)
* Remove deprecated Span usage.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-05-28 12:41:09 +02:00
Tomas Langer
e4be3dc0f6 JAX-RS @Provider autodiscovery (#1880)
* Provider as a bean defining annotation.
* Automatic discovery of JAX-RS providers.
* Removed deprecated provider.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-05-27 16:56:19 +02:00
Tomas Langer
c494634cf7 Alignment of client service APIs between Db and Web Clients. (#1863)
* Alignment of client service APIs between Db and Web Clients.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-05-27 14:00:19 +02:00
David Král
4df31fdde8 WebClient used in SE examples and tests (#1646)
WebClient used in SE examples and tests

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-05-07 18:14:44 +02:00
Tomas Langer
0afc20b959 Scope audience and scopes now correctly appended. (#1728)
* Scope audience and scopes now correctly appended.
2020-05-06 19:28:33 +02:00
Tomas Langer
e8abee82e8 Support for IDCS specific feature in OIDC config. (#1688)
* Support for IDCS specific feature in OIDC config.
2020-05-05 16:03:05 +02:00
Tomas Langer
0c94ec317a Dependency convergence + jakarta libraries. (#1600)
* Dependency convergence + jakarta libraries.
* Tests for jar and module path fro MP.
* Dependency fixes to resolve javadoc issues.
* Fixed the command line scripts that validate classpath and module path.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-04-14 20:14:44 +02:00
Tomas Langer
cce12165e1 Resource from config refactoring. (#1530)
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-03-18 14:12:39 -07:00
Tomas Langer
828d7c6e6e Fail fast when policy validation fails because of setup/syntax. (#1491)
* Fail fast when policy validation fails because of setup/syntax.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>

* Review fix - not hiding exception.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-03-16 12:58:01 +01:00
Joe DiPol
7d500a2784 Java 11 javadoc fixes. Turn on failOnError (#1386)
* Java 11 javadoc fixes. Turn on failOnError
* Switch to javadoc aggregate goal. Docs are generated as part of site lifecycle
* Update build.sh to build aggregated javadocs after build
* Cleanup based on PR feedback
* Removed requires java.activation
* Update jpa-cdi module-info
* Javadoc: update webclient module-info. Restore webserver dep in native-image-extension
* Update build.sh to use tagged release of javadoc-pluing
2020-03-13 13:03:58 -07:00
David Král
6ca7d5e6be Webclient implementation (#1205) (#1431)
Webclient implementation (#1205)

Signed-off-by: David Kral <david.k.kral@oracle.com>
2020-03-11 15:18:38 +00:00
Tomas Langer
206206a5c8 Configuration changes (#1357)
* Removal of project Reactor.
* Change support refactoring - in progress.
* Fixed value resolving, MP uses latest config.
* Longer timeouts for slow tests.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-02-20 11:41:09 +01:00
Martin Sladecek
92c5340752 1408 public fields for IdcsMtRoleMapperProvider.MtCacheKey 2020-02-20 10:50:37 +01:00
Joe DiPol
e25fdd4774 Update version to 2.0.0-SNAPSHOT. update-version now edits build.grad… (#1348)
* Update version to 2.0.0-SNAPSHOT. update-version now edits build.gradle file
2020-02-03 22:23:42 -08:00
Tomas Langer
5752712514 Use Helidon service loader.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-01-31 16:34:52 +01:00
Tomas Langer
f635adfae5 Support for basic authentication and OIDC provider in native-image for MP. 2020-01-30 16:58:19 +01:00
Tomas Langer
c7628c78cc JWT and OIDC security providers now support groups claim.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-01-28 15:58:49 +01:00
Tomas Langer
516859370b Fixed issues with IDCS and OIDC provider. (#1313)
* Fixed issues with IDCS and OIDC provider.
Cookie now configured to prevent infinite redirects.
WebServer security for scopes works as it should.
MP integration with WebServer security works as it should.
Examples are clearly separated between SE and MP.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>

* Review changes

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>

* Using strict Same-Site when frontend and identity hosts match.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-01-21 16:26:17 +01:00
Tomas Langer
3924c587b3 JWT-Auth for native-image.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-01-16 14:03:58 +01:00
Tomas Langer
6375428deb Helidon Features.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-01-16 11:35:49 +01:00
Tomas Langer
a4051f985b Removed support for entity modification from security.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-01-15 21:20:14 +01:00
Tomas Langer
76b8fbee89 Helidon MP revamped for native-image
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>

Work around issues with the reduced pom created by maven-shade-plugin.
See https://issues.apache.org/jira/browse/MNG-5899

Inline the reduced dependencies in the original pom.
Turn-off reduced pom generation.

Update microprofile/weld/pom.xml

Build fixes after repackaging weld.

Build fix - spotbugs exclude missing.

Simplify build and runtime events.

Using predefined priorities.

Validations for all modules in test.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2020-01-13 23:40:30 +01:00
Tomas Langer
8ae046ecf9 Update to Java 11 APIs (#1232)
* Remove OptionalHelper and replace with Optional methods.
* Remove CollectionsHelper and replace with Set, Map and List methods.
* Replaced `InputStreamHelper` with method of `InputStream`
* Replaced Helidon `StackWalker` with the one from Java
* Updated CHANGELOG.md
* Added an exclude for spotbugs to work around
    https://github.com/spotbugs/spotbugs/issues/756

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-12-17 20:33:51 +01:00
Tomas Langer
5d69b7d448 Upgrade tracing libraries (#1230)
* Upgrade of libraries related to tracing. (#1169)

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>

* Upgrades OpenTracing version, Jaeger and Zipkin tracers and fixed backward incompatible calls.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>

* Upgrade to latest Zipkin sender.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>

* Updated CHANGELOG.md

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-12-16 23:20:08 +01:00
Tomas Langer
fc8badd80f Allow usage of exceptions for security in Jersey. 2019-12-16 22:16:38 +01:00
Tomas Langer
e99c117105 Google libraries update for Google login provider.
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-12-16 22:15:27 +01:00
Tomas Langer
58c64f1aee Outbound with OIDC provider no longer causes an UnsupportedOperationException 2019-12-16 14:49:10 +01:00
Tomas Langer
31365ec5d9 Using Flow API from Java, removed Flow from reactive module.
See #1220

Javadoc no longer fails the build. See #1223 as a follow up issue.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-12-13 21:48:06 +01:00
Tomas Langer
5bfcff2b68 Java 11 as the minimal version (#1187)
* Java 11 as the minimal version

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>

* Use release 8 for javadoc.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
2019-12-10 10:02:05 +01:00
Joe DiPol
eb999f5c56 Update version to 2.0-SNAPSHOT (#1167) 2019-11-23 13:44:00 +01:00