Hi Hongxing,
Thanks for the quick reply. That was indeed the error. I had copied from
https://github.com/DSpace/DSpace/pull/222/files?diff=split, and added in the
<scope> value of “runtime”. When I removed <scope> it built as expected.
Cheers,
Graham
From: Hongxing Geng [mailto:bi...@athabascau.ca]
Sent: Thursday, April 23, 2015 11:04 AM
To: Graham Faulkner
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)
Have you include the following in your dspace-api/pom.xml?
<dependency>
<groupId>cas</groupId>
<artifactId>casclient</artifactId>
<version>2.1.1</version>
</dependency>
cheers!
Hongxing Geng
Library Services
Athabasca University
Phone: 780-675-6589
----- "Graham Faulkner"
<graham.faulk...@uwaterloo.ca<mailto:graham.faulk...@uwaterloo.ca>> wrote:
>
>
Hi Hongxing,
I tried to rebuild with the changes, and I’m getting a “package
edu.yale.its.tp.cas.client does not exist” error. Are you able to build using
that package?
Graham
>
From: Hongxing Geng [mailto:bi...@athabascau.ca]
> Sent: Wednesday, April 22, 2015 3:25 PM
> To: Graham Faulkner
> Cc:
> dspace-tech@lists.sourceforge.net<mailto:dspace-tech@lists.sourceforge.net>
> Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)
Hi Graham,
I was using this link for reference
https://github.com/DSpace/DSpace/pull/222/files?diff=split and successfully
implemented CAS authentication for DSpace 5.0. I believe the same code works
for DSpace 5.1 as well. Authentication does not deal with themes, so whether
the theme is Mirage 2 does not matter.
Thanks
>
> Hongxing Geng
> Library Services
> Athabasca University
> Phone: 780-675-6589
>
> ----- "Graham Faulkner"
> <graham.faulk...@uwaterloo.ca<mailto:graham.faulk...@uwaterloo.ca>> wrote:
> >
>
Hi there,
We are trying to set up CAS authentication for a DSpace 5.1 instance running
XMLUI (Mirage 2).
I have taken some cues from this GitHub pull request
(https://github.com/DSpace/DSpace/pull/804) and from a custom CAS
implementation from our DS 3.1 instance. We have installed a certificate and
can view things via https on port 8443.
However, upon performing the CAS login and returning to the website, we
encounter this error: “HTTP Status 500 - javax.net.ssl.SSLProtocolException:
handshake alert: unrecognized_name”
Doing some Googling, it seems like this is an issue with the newer JVM, and
that we need to disable SNI, by setting this flag:
“-Djsse.enableSNIExtension=false”. (e.g.
https://wiki.jasig.org/display/CASUM/SSL+Troubleshooting+and+Reference+Guide)
I added it to JAVA_OPTS value in the /dspace-source/dspace/bin/dspace file, and
rebuilt everything. However, I’m still encountering the error when attempting
a CAS login.
Has anyone successfully got CAS working with DSpace 5.1, XMLUI (Mirage 2), or
have pointers in the right direction?
Cheers,
Graham
-----------------------------------------
Graham Faulkner
Web Developer / Programmer
Digital Initiatives, Library
University of Waterloo
Waterloo, Ontario N2L 3G1 CANADA
519-888-4567 x32461
graham.faulk...@uwaterloo.ca<mailto:graham.faulk...@uwaterloo.ca>
> > ------------------------------------------------------------------------------
> > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your
> > own process in accordance with the BPMN 2 standard Learn Process modeling
> > best practices with Bonita BPM through live exercises
> > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> > _______________________________________________ DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net<mailto:DSpace-tech@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette:
> > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
________________________________
This communication is intended for the use of the recipient to whom it is
addressed, and may contain confidential, personal, and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communications received in error, or subsequent reply,
should be deleted or destroyed.
>
________________________________
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette