Reputation: 37
I am using Apache Ignite 2.8.0. When persistence is enabled then my server becomes Inactive. When I am trying to activate the cluster (only one server) by control.bat --activate
, it asks username and password, but when I activate using code ignite.cluster().active(true);
it doesn't ask.
I need an explanation why it doesn't ask username and password when I activating the cluster by code?
Upvotes: 1
Views: 1005
Reputation: 19313
You can only do that from a node that's already a part of topology (obviously) and thus passed security checks.
Apache Ignite only has thin client authentication currently. If you're looking for server-server authentication, use SSL or check GridGain security plugin.
Upvotes: 1