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/29 15:49:57 UTC

TcpDiscoverySpi.setAuthenticator

Where does this call for a custom plugin need to be done?

i.e

TcpDiscoverySpi discoSpi = new TcpDiscoverySpi(); 
discoSpi.setAuthenticator(new TokenAuthenticator()); 
igniteConfig.setDiscoverySpi(discoSpi); 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: TcpDiscoverySpi.setAuthenticator

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

I don't see why you won't be able the aforementioned in Spring XML
configuration. Please refer to Spring documentation.

Regards,
-- 
Ilya Kasnacheev


чт, 30 авг. 2018 г. в 10:35, wt <wa...@gmail.com>:

> I am using a config file and not setting config in code. How can i register
> setDiscoverySpi with my custom class in the config file or can i set it in
> code and also apply the config file?
>
> thanks
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Re: TcpDiscoverySpi.setAuthenticator

Posted by wt <wa...@gmail.com>.
I am using a config file and not setting config in code. How can i register
setDiscoverySpi with my custom class in the config file or can i set it in
code and also apply the config file?

thanks




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/