Revision 61371
Added by Konstantinos Spyrou almost 3 years ago
AuthorizationServiceImpl.java | ||
---|---|---|
15 | 15 |
@Service("authorizationService") |
16 | 16 |
public class AuthorizationServiceImpl implements AuthorizationService { |
17 | 17 |
|
18 |
public final String ROLE_ADMIN = "ROLE_ADMIN";
|
|
19 |
public final String ROLE_PROVIDE_ADMIN = "ROLE_PROVIDE_ADMIN";
|
|
20 |
public final String ROLE_USER = "ROLE_USER";
|
|
18 |
public static final String SUPER_ADMINISTRATOR = "SUPER_ADMINISTRATOR";
|
|
19 |
public static final String CONTENT_PROVIDER_DASHBOARD_ADMINISTRATOR = "CONTENT_PROVIDER_DASHBOARD_ADMINISTRATOR";
|
|
20 |
public static final String REGISTERED_USER = "REGISTERED_USER";
|
|
21 | 21 |
|
22 | 22 |
private final RoleMappingService roleMappingService; |
23 | 23 |
private final AaiRegistryService aaiRegistryService; |
Also available in: Unified diff
1. changed user roles defined in the project to authorities given by the aai.
2. created method returning user roles with desired status (active, deleted).