Hi,
I found a problem in my application this is happening sometimes, but I could not identify the reason.
My application execute a online function in the client to the server and when de server call the method sendResult of class ResultSender. I got this.
com.gemstone.gemfire.security.AuthenticationRequiredException: No security-* properties are provided
at com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.getPostAuthzRequest(ServerConnection.java:1996)
at com.gemstone.gemfire.internal.cache.execute.ServerToClientFunctionResultSender.authorizeResult(ServerToClientFunctionResultSender.java:252)
at com.gemstone.gemfire.internal.cache.execute.ServerToClientFunctionResultSender65.sendResult(ServerToClientFunctionResultSender65.java:152)
at com.gire.rp.infrastructure.gemfire.function.GetDeltasFunction.execute(GetDeltasFunction.java:77)
at com.gemstone.gemfire.internal.cache.tier.sockets.command.ExecuteFunction66.executeFunctionaLocally(ExecuteFunction66.java:294)
at com.gemstone.gemfire.internal.cache.tier.sockets.command.ExecuteFunction66.cmdExecute(ExecuteFunction66.java:243)
at com.gemstone.gemfire.internal.cache.tier.sockets.BaseCommand.execute(BaseCommand.java:167)
at com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.doNormalMsg(ServerConnection.java:771)
at com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.doOneMessage(ServerConnection.java:899)
at com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at com.gemstone.gemfire.internal.cache.tier.sockets.AcceptorImpl$1$1.run(AcceptorImpl.java:511)
at java.lang.Thread.run(Thread.java:662)
I configure the Authentication procces and this is working, i have a gfsecurity.properties and the security.xml with this
<permission role="client"> | ||
<operation functionIds="get-deltas-function">EXECUTE_FUNCTION</operation> | ||
</permission> |
get-deltas-function is the online function. But i found this problem.
any idea why this behavior?