Failed to use javascript in attribute-resolver.xml

Björn Urbanek bjoernurbanek at gmx.de
Mon Nov 4 09:11:09 EST 2013


Hello!

I have a problem using javascipt in the attribute-resolver.xml
If I want to use a script, I'll got the error message/stacktrace:

...
Caused by:
edu.internet2.middleware.shibboleth.common.attribute.resolver.AttributeResol
utionException: ScriptletAttributeDefinition eduPersonPrincipalName unable
to create scripting engine for the language: javascript
        at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attri
buteDefinition.ScriptedAttributeDefinition.validate(ScriptedAttributeDefinit
ion.java:110)
        at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.Shibb
olethAttributeResolver.validate(ShibbolethAttributeResolver.java:152)
        at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.Shibb
olethAttributeResolver.onNewContextCreated(ShibbolethAttributeResolver.java:
536)
        at
edu.internet2.middleware.shibboleth.common.config.BaseService.loadContext(Ba
seService.java:174)
        ... 22 more

In my test environment verthing works fine. I have checked the setup and (as
far as I can see) everthing is set up on the same way.
Has someone an idea?

Thanks so far!

Bjoern



More information about the users mailing list