Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Grouper 2.2, using PSP with Java 1.8

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Grouper 2.2, using PSP with Java 1.8


Chronological Thread 
  • From: GOOD Richard <>
  • To: "" <>
  • Subject: [grouper-users] Grouper 2.2, using PSP with Java 1.8
  • Date: Thu, 11 Sep 2014 14:16:00 +0000
  • Accept-language: en-GB, en-US

Hi all,

 

just wanted to post this in case it’s useful for anyone else. We’re in the process of setting up PSP on Grouper 2.2.0, and are using Java 1.8.

 

Java 1.8 ships with a new scripting engine which causes issues with parsing some of the PSP scripts. In order to resolve we followed the guide https://wiki.shibboleth.net/confluence/display/SHIB2/IdPJava1.8 and opted for “Running the Rhino engine under Java 1.8”.

 

To resolve:

 

1)      Download the rhino  .jar files linked from the above page, put them in <grouper-api>/lib/custom.

2)      For any psp references which are type “ad:Script”, add language=”rhino-nonjdk” to the root element

 

e.g.

 

<resolver:AttributeDefinition

    id="stemObjectclass"

    xsi:type="ad:Script"

    language="rhino-nonjdk">

 

You should then be able to use the scripts as-is.

 

Hope that’s useful!

 

Cheers,

 

Richard

 

Richard Good

Senior Analyst/Team Leader

IS Applications Development ISG team

Tel: (0131) 650 6628

 

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


  • [grouper-users] Grouper 2.2, using PSP with Java 1.8, GOOD Richard, 09/11/2014

Archive powered by MHonArc 2.6.16.

Top of Page