Somehow my earlier post was missing CDATA information.
<nabble_embed>
                                       <basic:Script>        
                        <![CDATA[
                                        importPackage(Packages.org.slf4j);         
                                function evaluateRule() {
                                        var samlAttr= new Packages.com.test.SamlAttributes();
                                        logger = LoggerFactory.getLogger("ourlogger");         
                                        logger.info("Logging from script" );
                                        return (!samlAttr.getTestAttr(requestContext));
                                }
                                evaluateRule();        
                        ]]>
                            </basic:Script>
</nabble_embed>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://shibboleth.1660669.n2.nabble.com/requestContext-in-executing-scriptlet-tp7589846p7589847.html">Re: requestContext in executing scriptlet</a><br/>
Sent from the <a href="http://shibboleth.1660669.n2.nabble.com/Shibboleth-Users-f1660767.html">Shibboleth - Users mailing list archive</a> at Nabble.com.<br/>