Explorar o código

Moved python script to correct directory

Luke Taylor %!s(int64=16) %!d(string=hai) anos
pai
achega
c7a2e12c65

+ 1 - 1
itest/context/src/main/java/org/springframework/security/integration/python/PythonInterpreterPreInvocationAdvice.java

@@ -43,7 +43,7 @@ public class PythonInterpreterPreInvocationAdvice implements PreInvocationAuthor
             throw new IllegalStateException("Python script did not set the permit flag");
         }
 
-        return Py.tojava(allowed, Boolean.class);
+        return (Boolean)Py.tojava(allowed, Boolean.class);
     }
 
     private Map<String,Object> createArgumentMap(MethodInvocation mi) {

+ 0 - 0
core/src/test/resources/someMethod.py → itest/context/src/test/resources/someMethod.py