Re: [akka-user] system.actorSelection not working when untrusted mode is turned on

2015-03-09 Thread Patrik Nordwall
On Mon, Mar 9, 2015 at 11:38 AM, James Brems wrote: > Hi Patrik! > > That means that I have to add the actors which are sending me messages > with ActorSelection to the trusted actor path, right? > You must add the paths of the destinations (not senders) to the trusted actor path. > > But if I

Re: [akka-user] system.actorSelection not working when untrusted mode is turned on

2015-03-09 Thread James Brems
Hi Patrik! That means that I have to add the actors which are sending me messages with ActorSelection to the trusted actor path, right? But if I add them then those could also send me PoisonPills - right? Is there a way to explicitly allow ActorSelection and still block the PoisonPill? Tha

Re: [akka-user] system.actorSelection not working when untrusted mode is turned on

2015-03-09 Thread Patrik Nordwall
Hi James, Messages sent with actor selection are by default discarded in untrusted mode, but permission to receive actor selection messages can be granted to specific actors defined in configuration: akka.remote.trusted-selection-paths See http://doc.akka.io/docs/akka/2.3.9/scala/remoting.html#Unt

[akka-user] system.actorSelection not working when untrusted mode is turned on

2015-03-06 Thread James Brems
Hi! I am using akka 2.3.7. I want to protect my remote actors against PoisonPills from outside. Therefore I set the property akka.remote.untrusted-mode = on (as suggested in http://doc.akka.io/docs/akka/2.3.7/scala/remoting.html) Problem is, that now system.actorSelection is not working any