Commit Graph

27 Commits

Author SHA1 Message Date
kaizimmerm
43511ed63e Fixed test.
Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-10-13 09:17:24 +02:00
Kai Zimmermann
c4faf4b5af Merge pull request #297 from bsinno/feature_multi_known_hashes_for_issuer_hash_based_auth
Feature multi known hashes for issuer hash based auth
2016-10-13 06:09:21 +02:00
Dominik Herbst
05cebdba54 Used HeaderAuthentication for getPreAuthenticatedPrincipal. Improved test
quality.

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
2016-10-12 15:43:39 +02:00
Dominik Herbst
97ab881d6e Code improvements
Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
2016-10-05 12:46:21 +02:00
Kai Zimmermann
5c53bef164 Configurable download URL generation (#296)
Configurable download URL generation.

Signed-off-by: kaizimmerm <kai.zimmermann@bosch-si.com>
2016-09-28 09:18:03 +02:00
Marcel Mager (INST-IOT/ESB)
7176f93ca4 Fix code smells.
Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>
2016-09-23 10:11:36 +02:00
Marcel Mager (INST-IOT/ESB)
54c4c8c481 Review fixes of code quality.
Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>
2016-09-22 16:02:27 +02:00
Marcel Mager (INST-IOT/ESB)
a0c5915ce6 Reduce cyclomatic complexity by extracting method
Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>
2016-09-22 14:22:01 +02:00
Marcel Mager (INST-IOT/ESB)
5215580cd7 Fix code review findings:
* adapt return type of #getPreAuthenticatedPrincipal to the
#getPreAuthenticatedCredentials return type (both Object)
* #splitMultiHash returns list instead of array

Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>
2016-09-22 14:21:59 +02:00
Marcel Mager (INST-IOT/ESB)
0ccd458585 Add support for multiple hashes in Issuer hash based authentication
Signed-off-by: Marcel Mager (INST-IOT/ESB) <Marcel.Mager@bosch-si.com>
2016-09-22 14:21:55 +02:00
Melanie Retter
4d47a86285 Fix typo
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2016-08-24 14:26:46 +02:00
Kai Zimmermann
13f9791891 Removed JPA dependencies from runtime. Test only now.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
2016-05-31 20:50:22 +02:00
Kai Zimmermann
f2e13b8d22 Split into separate maven modules.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
2016-05-25 17:43:57 +02:00
Michael Hirsch
68a87490c6 Merge pull request #170 from bsinno/fix_remove_special_coap_auth_token
remove special coap-auth-token filter for coap-downloads
2016-05-11 14:09:18 +02:00
Kai Zimmermann
2c5969b080 Fixed a few spellings 2016-05-02 18:07:23 +02:00
Michael Hirsch
9be6aa6e18 remove special coap-auth-token filter for coap-downloads
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-28 14:12:07 +02:00
Michael Hirsch
db37bd42df fix license header in pom.xml
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-05 14:42:00 +02:00
Michael Hirsch
e033e8718c unit tests for ControllerPreAuthenticatedAnonymousDownloadTest
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-03-29 11:12:42 +02:00
Michael Hirsch
1cb7519ace add security and filters for anonymous download via http and amqp
requests

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-03-23 16:17:53 +01:00
Michael Hirsch
cdac7185c4 fix typo of class TenantSecurityToken and handle authentication message
based on FileResource not only on SHA1 hash

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-03-23 10:23:35 +01:00
SirWayne
6d12e62d58 Fix missing run as secruity context for header filter
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-15 10:02:48 +01:00
Fabian Nonnenmacher
2be4922615 Added System Security Context as attribute to AbstractControllerAuthenticationFilter
This is necessary, because the tenant configuration methods are only accessable with specific permissions.
With the SystemSecurityContext methods can be executed as SystemRunner and therefor we can set permissions.

* updated the chaine of condtructors to set the context in the filter class
* added SystemRunner permission to TenantConfigurationManagement
* Autowired the system context to AMQP and HTTP controller

Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
2016-02-29 13:18:58 +01:00
Fabian Nonnenmacher
6cef6aed1a Moved tenant configuration functions to new management class
- moved fucntions to TenantConfigurationManagement, for better function capseling
- updated references
- updated references in tests, tests were succesfully

Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
2016-02-29 13:15:40 +01:00
Fabian Nonnenmacher
07fce42469 Changed return type of SystemManagement.getConfigurationValue()
* changed Return type to wrapper object, adding additional meta data stored in the database
* updated all calls of this method
* updated function calls in tests
* verified correct execution of correspending tests

Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
2016-02-29 13:15:03 +01:00
Kai Zimmermann
b1f753b291 Upgrade to 0.2 release train
0.2. development starts in parallel to the preparation for first
eclipse release 0.1
2016-01-26 11:34:39 +01:00
Kai Zimmermann
64deaeea3c Remove swagger and minor feature extensions and bug fixes
- Various Bug fixes and improvements
- Management API extended
- Swagger removed
- Guava Upgraded to 19
2016-01-21 13:42:38 +01:00
Kai Zimmermann
7497ab61ed Initial check in accordance with Parallel IP 2016-01-21 13:18:55 +01:00