Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-05-07 Thread Hongxing Geng
"); return SUCCESS; } else{ // No auto-registration for valid netid log.warn(LogManager.getHeader(context, "authenticate", "type=netid_but_no_record, cannot auto-register")); log.info(" return NO_SUCH_USER "); return NO_SUCH_USER; } } } }

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-05-07 Thread Graham Faulkner
; } return BAD_ARGS; } However, in my attempts to implement this in 5.1 the call to request.getUserPrincipal() always returns null, so I can’t proceed with the functions to get a Map of the attributes. Thanks in advance for any help in this matter. Cheers, Graham From: Hongxing Gen

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-05-04 Thread Hongxing Geng
ay, April 28, 2015 9:51 AM > To: Hongxing Geng > Cc: dspace-tech@lists.sourceforge.net > Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2) Hi Hongxing, Thanks again for your assistance. I have CAS * mostly * working now – i.e. I authenticate users using CAS and auto-r

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-05-04 Thread Graham Faulkner
15 9:51 AM To: Hongxing Geng Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2) Hi Hongxing, Thanks again for your assistance. I have CAS *mostly* working now – i.e. I authenticate users using CAS and auto-register them with a custom group at t

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-04-28 Thread Graham Faulkner
...@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

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-04-23 Thread Graham Faulkner
] 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

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-04-23 Thread Hongxing Geng
> 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 a

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-04-23 Thread Graham Faulkner
: 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

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-04-23 Thread Graham Faulkner
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

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-04-23 Thread Graham Faulkner
@lists.sourceforge.net Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2) El 22/04/15 a les 21:14, Graham Faulkner ha escrit: > 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 G

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-04-23 Thread Àlex Magaz Graça
El 22/04/15 a les 21:14, Graham Faulkner ha escrit: > 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 > impleme

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-04-22 Thread Hongxing Geng
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 Mi

[Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-04-22 Thread Graham Faulkner
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 certific