You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by wt <wa...@gmail.com> on 2018/08/13 10:04:40 UTC
security question - custom plugin
I am looking at the
http://smartkey.co.uk/development/securing-an-apache-ignite-cluster/ example
but it doesn't dive into details and when trying to build one myself i am
unsure of the following
1) what imports are needed for the annotations is it
org.jetbrains.annotations?
2) i have the following imports, am i missing anything
import org.apache.ignite.IgniteCheckedException;
import org.apache.ignite.IgniteException;
import org.apache.ignite.cluster.ClusterNode;
import org.apache.ignite.plugin.IgnitePlugin;
import org.apache.ignite.plugin.PluginConfiguration;
import org.apache.ignite.plugin.PluginContext;
import org.apache.ignite.plugin.PluginProvider;
import org.apache.ignite.internal.processors.security.*;
import org.apache.ignite.spi.discovery.DiscoverySpiNodeAuthenticator;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
If someone could point me to a recent working example of a security plugin
that would be amazing. I am looking at integrating authorization with
kerberos where i can create groups with specific permission and apply that
to individual caches.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Re: security question - custom plugin
Posted by dkarachentsev <dk...@gridgain.com>.
Hi,
1) You need to add jetbrains annotation in compile-time [1].
2) Imports depend on what are you using :) It's hard to say if your imports
enough. Add ignite-core to your plugin dependencies.
I don't think that there are other examples besides that blog post.
[1] https://mvnrepository.com/artifact/org.jetbrains/annotations/13.0
Thanks!
-Dmitry
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/