public void checkPermissions(NamespaceEntity namespaceEntity,String... requestedIamRoleNames){
  checkPermissions(namespaceEntity,Arrays.asList(requestedIamRoleNames));
}

public void checkPermissions ( NamespaceEntity namespaceEntity , String ... requestedIamRoleNames ) { checkPermissions ( namespaceEntity , Arrays . asList ( requestedIamRoleNames ) ) ; }
throws accessdeniedexception if the given namespace is not authorized to access any of the given iam role names . the iam role names are case - insensitive . this method does nothing if configurationvalue . namespace_iam_role_authorization_enabled is false .
