ScriptedPredicate return value?

Rod Widdowson rdw at steadingsoftware.com
Tue May 12 09:54:54 EDT 2015


> and have tried various permutations of “return”

You don't say return in Javascript, it takes the last value. 

So something like

	load("nashorn:mozilla_compat.js");
	importClass(org.slf4j.LoggerFactory);
	importClass(org.slf4j.Logger);
	logger =
LoggerFactory.getLogger("net.shibboleth.idp.SilverAuthnClass");
	logger.info("everything loaded fine");
	new java.lang.Boolean(true);


Will do it



More information about the users mailing list