Revision 59812
Added by Konstantina Galouni almost 4 years ago
pom.xml | ||
---|---|---|
14 | 14 |
<parent> |
15 | 15 |
<groupId>org.springframework.boot</groupId> |
16 | 16 |
<artifactId>spring-boot-starter-parent</artifactId> |
17 |
<version>1.5.18.RELEASE</version>
|
|
17 |
<version>1.5.8.RELEASE</version> |
|
18 | 18 |
<relativePath/> <!-- lookup parent from repository --> |
19 | 19 |
</parent> |
20 | 20 |
|
... | ... | |
73 | 73 |
<version>1.0.0-SNAPSHOT</version> |
74 | 74 |
</dependency> |
75 | 75 |
<dependency> |
76 |
<groupId>eu.dnetlib</groupId> |
|
77 |
<artifactId>uoa-authorization-library</artifactId> |
|
78 |
<version>1.0.0-SNAPSHOT</version> |
|
79 |
</dependency> |
|
80 |
<dependency> |
|
76 | 81 |
<groupId>org.springframework.boot</groupId> |
77 | 82 |
<artifactId>spring-boot-starter-test</artifactId> |
78 | 83 |
<scope>test</scope> |
79 | 84 |
</dependency> |
85 |
<dependency> |
|
86 |
<groupId>org.springframework.boot</groupId> |
|
87 |
<artifactId>spring-boot-starter-security</artifactId> |
|
88 |
</dependency> |
|
80 | 89 |
</dependencies> |
81 | 90 |
|
82 | 91 |
<build> |
Also available in: Unified diff
[Trunk | Monitor Service]: uoa-authorization-library dependency added:
1. pom.xml: Added dependencies for spring security and for uoa-authorization-library | [Bug fix] spring boot version set to 1.5.8 (it was accidentally set to 1.5.18 and library was not compatible).
2. UoaMonitorServiceApplication.java: Added authorization.properties | Remove SecurityConfig from configuration (done by authorization library) | import AuthorizationConfiguration.
3. ExceptionsHandler.java: Add handler for AccessDeniedException.
4. monitorservice.properties: Remove security properties (and add missing properties for mongodb).
5. UoaMonitorServiceConfiguration.java: Remove interceptor for AuthorizationHandler.
6. SecurityConfig.java & AuthorizationHandler.java & AuthorizationUtils.java: Removed unnecessary files (authorization is done via authorization library).