Hello all,

I have a problem trying to insert metadata attributes to an EPerson while 
authenticating with Shibboleth. The problematic option in 
authentication-shibboleth.cfg is the option eperson.metadata. I have set 
this option to 
eperson.metadata =  ou => ou

I have created a field ou in the eperson metadata schema and I have a field 
ou in my Shibboleth headers. But authentication fails with this error 
message:

2017-01-04 10:51:01,887 ERROR org.dspace.authenticate.ShibAuthentication @ 
Unable to successfully authenticate using shibboleth for user because of an 
exception.
java.lang.NullPointerException
    at org.dspace.content.DSpaceObject.match(DSpaceObject.java:1139)
    at org.dspace.content.DSpaceObject.clearMetadata(DSpaceObject.java:1103)
    at 
org.dspace.content.DSpaceObject.setMetadataSingleValue(DSpaceObject.java:666)
    at org.dspace.eperson.EPerson.setMetadata(EPerson.java:909)
    at 
org.dspace.authenticate.ShibAuthentication.updateEPerson(ShibAuthentication.java:822)
    at 
org.dspace.authenticate.ShibAuthentication.authenticate(ShibAuthentication.java:221)
(...)

I guess, the problem is, that some value is not set correctly, but I do not 
see the exact point of failure.

I'm using DSpace 5.6.

Any ideas?

Thanks in advance
Oliver

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to