public interface OpenMetadataServiceSecurity
| Modifier and Type | Method and Description |
|---|---|
void |
validateUserForService(String userId,
String serviceName)
Check that the calling user is authorized to issue this request.
|
void |
validateUserForServiceOperation(String userId,
String serviceName,
String operationName)
Check that the calling user is authorized to issue this specific request.
|
void validateUserForService(String userId, String serviceName) throws UserNotAuthorizedException
userId - calling userserviceName - name of called serviceUserNotAuthorizedException - the user is not authorized to access this servicevoid validateUserForServiceOperation(String userId, String serviceName, String operationName) throws UserNotAuthorizedException
userId - calling userserviceName - name of called serviceoperationName - name of called operationUserNotAuthorizedException - the user is not authorized to access this serviceCopyright © 2018–2020 ODPi. All rights reserved.