@Component(value="AuthorizationService") public class AuthorizationService extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
ANONYMOUS_USER |
String |
PORTAL_ADMIN |
String |
REGISTERED_USER |
| Constructor and Description |
|---|
AuthorizationService() |
| Modifier and Type | Method and Description |
|---|---|
String |
curator(String type)
Type = FUNDER | COMMUNITY | INSTITUTION | PROJECT
|
String |
getAaiId() |
String |
getEmail() |
List<String> |
getRoles() |
boolean |
isCommunity(String type) |
boolean |
isCurator(String type) |
boolean |
isManager(String type,
String id) |
boolean |
isMember(String type,
String id) |
boolean |
isPortalAdmin() |
String |
manager(String type,
String id)
Type = FUNDER | COMMUNITY | INSTITUTION | PROJECT
Id = EE, EGI, etc
|
String |
member(String type,
String id)
Type = FUNDER | COMMUNITY | RI | INSTITUTION | PROJECT
Id = EE, EGI, etc
|
public final String PORTAL_ADMIN
public final String ANONYMOUS_USER
public final String REGISTERED_USER
public String manager(String type, String id)
public String member(String type, String id)
public boolean isCommunity(String type)
public boolean isPortalAdmin()
public boolean isCurator(String type)
public String getAaiId()
public String getEmail()
Copyright © 2022. All rights reserved.