Hi Nick,

I think the answer may be that SWORD doesn't support LDAP authentication 
(and it looks like that's what you are using based on the logs you 
shared).  SWORD *only supports* PasswordAuthentication (DSpace's internal 
authentication system).   So, to login to SWORD, you'd need to use an 
internally stored username & password.

Tim

On Tuesday, June 4, 2024 at 11:27:39 AM UTC-5 Joyner Library wrote:

> Hi All,
>
> We have enabled sword version 1 in the local configuration but haven't 
> changed other sword settings. I can sign on to the frontend and /server 
> too. When we try to download 
> https://irdev.ecu.edu/server/sword/servicedocument it gives the white 
> label error page. The DSpace log file shows:
>
> INFO  unknown 4f89ae89-9baf-49cc-b800-3205dbddef5d 
> org.dspace.authenticate.LDAPAuthentication @ 
> anonymous:session_id=0:ip_addr=150.216.*.*:auth:attempting trivial auth of 
> user=crimin
>
> 2024-06-04 12:00:32,819 ERROR unknown unknown 
> org.springframework.boot.web.servlet.support.ErrorPageFilter @ Forwarding 
> to error page from request [/sword/servicedocument] due to exception 
> [java.lang.NullPointerException: Cannot invoke 
> "javax.servlet.http.HttpServletRequest.setAttribute(String, Object)" 
> because "request" is null]
>
> How do I sign on successfully to the sword service?
>
> Nick Crimi
> ECU Libraries
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/fb01c4ac-0f28-4c2c-848c-7a02bc26953cn%40googlegroups.com.

Reply via email to