Class AuthenticatedService
java.lang.Object
org.gcube.service.helloworld.rest.AuthenticatedService
- Author:
- Lucio Lelii (ISTI - CNR), Alfredo Oliviero (ISTI - CNR)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAnswers a caller with the rolemyRole.Answers a caller with the roleMember.Answers a caller with the roleOrganizationMember.
-
Constructor Details
-
AuthenticatedService
public AuthenticatedService()
-
-
Method Details
-
authorizedOrg
Answers a caller with the roleOrganizationMember.- Returns:
- a message naming the caller, the Context and the role
-
authorizedMember
Answers a caller with the roleMember.- Returns:
- a message naming the caller, the Context and the role
-
authorized
Answers a caller with the rolemyRole.- Returns:
- a message naming the caller, the Context and the role
-