[Trunk | Authorization Library]: AuthorizationService.java: [Bug fix] Added "authentication.getPrincipal() instanceof User" check before casting authentication.getPrincipal() to User - if user is not logged in, it is String.
[Authorization-Library | Trunk]: Authorization Service add boolean communityMap on mapType
[Authorization Library | Trunk]: Add role anonymous and registered user
[Authorization-library | Redis]: Remove properties
[Authorization-library | Redis]: Redis integration completed
[Authorization library: Creating branch for redis integration]
[Trunk | Authorization Library]: AuthorizationService.java: Add anonymous user roles and add method "getAaiId()" (currently we get aaiId from password field - to be changed).
[AuthorizationLibrary | Trunk]: Add Entry point class to get 401 if user is not loggedin
[Trunk | Authorization Library]:1. AuthorizationService.java: [Bug fix] In method "curator()", "CURATOR" is a prefix, not suffix in role.2. AuthorizationConfiguration.java: Comment "@PropertySources" as this is a library project and properties are set by parent project.
[Authorization Library | Trunk]: Fix invalid token error
[Trunk | Auth-Library]: AuthorizationService.java:1. Add private method "mapType()", to map "organization" to "institution" and "ri" to "community" for roles.2. Add public method "getRoles()" to access roles (as Strings) from Granted Authorities.
Rename subscriber to member
[Auth-Library]: Remove comments
Fix some issues. Remove origins temporaly
Add origin check, rename subscriber to member
Remove authenticated for all requests
Spring security library providing preauthorize and authenticated methods for apis