You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Anton Kurbanov <an...@gmail.com> on 2019/10/01 14:45:24 UTC

Re: Changing password of USER "ignite"

Hi Mahesh,

How do you execute this query, what kind of client do you use to execute
the query? The syntax is correct, but it seems that there is some issue
with authorization context. What steps must be done to reproduce that?

Regards,
Anton

пн, 30 сент. 2019 г. в 20:36, Mahesh Renduchintala <
mahesh.renduchintala@aline-consulting.com>:

> We followed all that, ignite user name and ignite password for the DB work
> fine
> Now we want change the password to something else.  This is when we get
>
> Error: Operation not allowed: authorized context is empty.
>
> The SQL used was  ALTER USER "ignite" WITH PASSWORD 'abc123'
>
>

Re: Changing password of USER "ignite"

Posted by Mahesh Renduchintala <ma...@aline-consulting.com>.
So what we found out is, we are able to change the password with DBeaver after connecting to the DB using
username: ignite
password: ignite

However, the same does not work via Grid gain. Grid gain gives the following error.
Gridgain pops up
Error: Operation not allowed: authorized context is empty

Re: Changing password of USER "ignite"

Posted by Mahesh Renduchintala <ma...@aline-consulting.com>.
-1-
Step a)
Login to GridGain
enter user name "ignite" and password "ignite" to connect to your cluster.

Step b)
Go to the notebook tab, execute the SQL
   ----The SQL used was  in note book was  - ALTER USER "ignite" WITH PASSWORD 'abc123'

Gridgain pops up
Error: Operation not allowed: authorized context is empty.

-2-

Sql = "ALTER USER "ignite" WITH PASSWORD 'abc123'"

results = superCache.query(sql).getAll();

We get a print
Error: Operation not allowed: authorized context is empty.
Very easy to produce.

regards
mahesh