Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Ldappcng and privileges provisionning

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Ldappcng and privileges provisionning


Chronological Thread 
  • From: Arnaud Deman <>
  • To:
  • Subject: [grouper-users] Ldappcng and privileges provisionning
  • Date: Wed, 26 Jan 2011 16:42:01 +0100

Hi,

I am trying to see how to provision the privileges with ldappcng and I have
some difficulties to find the good configuration.
For my test I am trying to publish the viewers of a group into the ldap
attribute hasMember.

The configuration of group data connector is :

<resolver:DataConnector id="GroupDataConnector"
xsi:type="grouper:GroupDataConnector">
<grouper:Attribute id="members" />
<grouper:Attribute id="groups" />
<grouper:Attribute id="viewers" />
</resolver:DataConnector>


And the attribute definition is :

<resolver:AttributeDefinition id="hasMember" xsi:type="grouper:Subject"
sourceAttributeID="viewers">
<resolver:Dependency ref="GroupDataConnector" />
<grouper:Attribute id="name" source="ESUP_ldap" />
</resolver:AttributeDefinition>

When I try to calculate the provisioning I have this error:
$ bin/gsh.sh -ldappcng -calc esup:ldappcng

<response xmlns='urn:oasis:names:tc:SPML:2:0'
status='failure'requestID='2011/01/26-15:23:26.387_QTOL2C68'
error='unsupportedOperation'/>


And in Grouper's error log :

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
edu.internet2.middleware.ldappc.spml.provider.BaseSpmlProvider.execute(BaseSpmlProvider.java:79)
at edu.internet2.middleware.ldappc.spml.PSPCLI.run(PSPCLI.java:145)
at edu.internet2.middleware.ldappc.spml.PSPCLI.main(PSPCLI.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:188)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:128)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)
Caused by: java.lang.NullPointerException
at java.util.ArrayList.addAll(ArrayList.java:472)
at
edu.internet2.middleware.grouper.shibboleth.attributeDefinition.SubjectAttributeDefinition.doResolve(SubjectAttributeDefinition.java:73)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.BaseAttributeDefinition.resolve(BaseAttributeDefinition.java:107)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.BaseAttributeDefinition.resolve(BaseAttributeDefinition.java:38)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.ContextualAttributeDefinition.resolve(ContextualAttributeDefinition.java:92)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.ContextualAttributeDefinition.resolve(ContextualAttributeDefinition.java:32)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveAttribute(ShibbolethAttributeResolver.java:306)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveAttributes(ShibbolethAttributeResolver.java:257)
at
edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.ShibbolethAttributeResolver.resolveAttributes(ShibbolethAttributeResolver.java:130)
at
edu.internet2.middleware.grouper.shibboleth.attribute.SimpleAttributeAuthority.getAttributes(SimpleAttributeAuthority.java:93)
at
edu.internet2.middleware.grouper.shibboleth.attribute.SimpleAttributeAuthority.getAttributes(SimpleAttributeAuthority.java:36)
at
edu.internet2.middleware.ldappc.spml.PSP.getProvisioningContext(PSP.java:798)
at edu.internet2.middleware.ldappc.spml.PSP.execute(PSP.java:174)


What I have missed ?

Thanks!
Arnaud.



--
Arnaud Deman
04 91 28 85 25
DSI - Université Paul Cézanne Aix-Marseille III
Avenue Escadrille Normandie-Niemen
13397 MARSEILLE CEDEX 20




Archive powered by MHonArc 2.6.16.

Top of Page