Revision 59812
Added by Konstantina Galouni almost 4 years ago
monitorservice.properties | ||
---|---|---|
1 | 1 |
#dev |
2 |
monitorservice.userInfoUrl = http://scoobydoo.di.uoa.gr:8080/dnet-openaire-users-1.0.0-SNAPSHOT/api/users/getUserInfo?accessToken= |
|
3 |
monitorservice.originServer = .di.uoa.gr |
|
4 | 2 |
monitorservice.host = smtp.gmail.com |
5 | 3 |
monitorservice.port = 587 |
6 | 4 |
monitorservice.auth = true |
7 | 5 |
monitorservice.from = openaire.test@gmail.com |
8 | 6 |
monitorservice.username = openaire.test@gmail.com |
9 | 7 |
monitorservice.password = ... |
8 |
monitorservice.mongodb.host=localhost |
|
9 |
monitorservice.mongodb.port=27017 |
|
10 |
monitorservice.mongodb.database=openaire_monitor3 |
|
10 | 11 |
|
11 | 12 |
#beta |
12 | 13 |
#monitorservice.userInfoUrl = https://beta.services.openaire.eu/uoa-user-management/api/users/getUserInfo?accessToken= |
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).