[Trunk | Claims API]: 1. Authorization.java: Added methods "boolean isPortalAdministrator()" to check if a user is portal admin via his "AccessToken" cookie. 2. MetricsService.java: In method "calculateMetrics()" (/report/calc) added @CookieParam("AccessToken") String cookie, in order to allow its execution only by portal administrators.
[Trunk | Claims API]:
1. Authorization.java: Added methods "boolean isPortalAdministrator()" to check if a user is portal admin via his "AccessToken" cookie.
2. MetricsService.java: In method "calculateMetrics()" (/report/calc) added @CookieParam("AccessToken") String cookie, in order to allow its execution only by portal administrators.