Shibboleth 2.4.4 and problems with scripts.

Josef Karliak karliak at ajetaci.cz
Mon Nov 30 08:23:11 EST 2015


  Good afternoon,
  sorry for my last posting, you're right, it was caused by java 1.8, I
had to switch to java 1.7 by command:
/usr/sbin/update-alternatives --config java

There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                       Priority   Status
------------------------------------------------------------
  0            /usr/lib64/jvm/jre-1.8.0-openjdk/bin/java   1805      auto
mode
* 1            /usr/lib64/jvm/jre-1.7.0-openjdk/bin/java   1705     
manual mode
  2            /usr/lib64/jvm/jre-1.8.0-openjdk/bin/java   1805     
manual mode


  After restart all works fine

  Thanks and best regards
  J.Karliak




> You are using Java8, but your script is targeted against Java7.   The Java
> upgrade 7->8 broke JavaScript.
>
>> 11:36:09.029 - ERROR
>>
> [edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attr
> i
>> buteDefinition.ScriptedAttributeDefinition:136]
>> - ScriptletAttributeDefinition eduPersonEntitlement unable to execute
>> script
>> javax.script.ScriptException: ReferenceError: "importPackage" is not
>> defined in <eval> at line number 1
>>         at
>
> This is documented in the Wiki (better under IdP3 than 2, but this is not
> an
> IdP issue, it’s a Java issue). My suggestion would be to deploy rhino if
> you
> have legacy scripts or learn Nashorn otherwise (one less external
> dependency
> to worry about)
>
> /R
>


-- 
Ma domena pouziva zabezpeceni a kontrolu SPF (www.openspf.org) a
DomainKeys/DKIM (s ADSP) a implementaci DMARC. Pokud mate problemy s
dorucenim emailu, zacnete pouzivat metody overeni puvody emailu
zminene vyse. Dekuji.
My domain use SPF (www.openspf.org) and DomainKeys/DKIM (with ADSP)
policy and implementation of the DMARC. If you've problem with sending
emails to me, start using email origin methods mentioned above. Thank
you.



More information about the users mailing list