I am working with OpenClinica 3.2 with WS; connecting from a Java program.
Since I do not have experience with Spring I tried to avoid using the whole stack just for authentication in the WS and I generated the client classes with CXF and JAXB.
I calculated the SHA-1 of the password using an online generator (it is a development machine) and found that if I wrote the SHA-1 string in uppercase it did not work, which is odd (the SHA-1 is just the hexadecimal representation of a number, so in general it does not matter if it is uppercase or lowercase).
I have searched the forum and the only reference I can find is here: https://forums.openclinica.com/discussion/comment/8262#Comment_8262
; which is pretty old.
I think this should be fixed or at the very least documented.