Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Re: the problem of integer cas auth with group-ui

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Re: the problem of integer cas auth with group-ui


Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: "??" <>
  • Cc:
  • Subject: Re: [grouper-users] Re: the problem of integer cas auth with group-ui
  • Date: Thu, 28 Sep 2006 13:47:07 +0100

Hi aifei,

I just tried building Grouper with the CAS code, and you are right - it isn`t working - for Tomcat 4 or 5. I`ll take a look and see what I`ve managed to break.

As for Chinese characters there is likely to be a problem with the XML encoding:

<?xml version="1.0" encoding="iso-8859-1"?>

You will probably need to change that to UTF-8.

In principle, Java deals with unicode strings, so I would hope it could deal with Chinese - I`m sure it can, but never having tried it I don`t know if there is any other setup work. If you look at a text field in the Grouper database, how does that appear>

Gary

--On 28 September 2006 18:17 +0800 "??"
<>
wrote:

Hi Gary,
I debug the cas auth's problem,the main cause is
request.getRemoteUser() isNull.so I change the code that remoteUser's
value comes from
session.getAttribute("edu.yale.its.tp.cas.client.filter.user") and change
the struts-config.xml file that make "callLogin" forward to home.do. so
afer cas authenticat the netid ,then url redirct to
populateIndex.do,then click the "login" hyperLink,the url redirect to
home.do.Maybe there are another way make url redirect to home.do
directly.by the aways,the cas server'version is 3.0.4.
now I have another problem.how I should do make the group-ui to support
chinese.for when I input chinese in the page,but grouper change the
string ,just like &#37049;&#26460.

regards!

aifei

----- Original Message -----
From: "GW Brown, Information Systems and Computing"
<>
To: "??"
<>
Cc:
<>
Sent: Wednesday, September 27, 2006 5:55 PM
Subject: [grouper-users] Re: the problem of integer cas auth with group-ui


Hi aifei,

Responses below.

Gary

--On 27 September 2006 16:36 +0800 "??"
<>
wrote:

Hi Gary,
first thanks for helping me to build the group-ui down the
jdk1.5. I download the xalan2.7 and put the serializer.jar under the
lib path at the same time and it works?
That's good to hear - we'll update the docs

now I have anothe problem,how
to succed to integer cas auth with group-ui. when I build the group-ui,I
interger the yale-cas-auth under the path of contrib?then I deploy the
grouper.war in the tomcat?when I access the url
http://******:7070/grouper/, the result is following: step1?it
redirect to the cas server login.jsp ,
step2?cas authenticat the netid and redirect to the service url
rnd12.dcampus.com:7070/grouper/index.jsp step3?index.jsp redirect to
the http://rnd12.dcampus.com:7070/grouper/populateIndex.do but not the
http://rnd12.dcampus.com:7070/grouper/home.do I have to inclike the
login hyperlink of populateIndex.do and use the tomcat's auth to
reauthenticat the netid. Could you help me ? the attachment is
build.xml and web.xml and the result of cas auth. regards!
It looks like the CAS ticket cannot be validated. This usually means
that the service used to verify the ticket is different to that used to
create it or that the CAS Client code installed with Grouper is unable
to make a secure (https) connection to your CAS server - generally
because the certificate on the CAS server is not 'trusted' by the JDK
used to start Tomcat.

I think the problem is likely to be the latter. You may find an error in
the tomcat log.

If you can't resolve the problem I'll take a look tomorrow to make sure
that the process still works on my system.



aifei




----- Original Message -----
From: "GW Brown, Information Systems and Computing"
<>
To: "??"
<>
Cc:
<>
Sent: Sunday, September 24, 2006 7:54 PM
Subject: Re: [grouper-users] the problem of merge grouper xml


Hi aifei,

It looks like you also need serializer.jar from the xalan distribution.
I just tried it with xalan 2.7 and it worked for me.

Gary




----------------------
GW Brown, Information Systems and Computing




----------------------
GW Brown, Information Systems and Computing




Archive powered by MHonArc 2.6.16.

Top of Page