Hi everyone, 

In redhat 5.3, i use CAS with apache.

 

I use apache  to be able to balance the load.

 

As you see in below httpd.conf, i have a jboss portal 2.7.2 running on
computer "portal1".

 

step 1: 

I goto this Url https://portal1/portal and see portal home page. 

(our SSL configuraion and balancing is OK )

 

step2: when i click "Login" link , see CAS login screen 

(current url in browser is
https://portal1/cas/login?service=https%3A%2F%2Fportal1%2F%2Fportal%2Fauthse
c%2Fportal%2Fdefault%2Fdefault)

 

step3: when i write username and password and click the submit  buttonin CAS
login screen,  CAS automatically redirects to this url. 

https://cas/login?service=https%3A%2F%2Fportal1%2F%2Fportal%2Fauthsec%2Fport
al%2Fdefault%2Fdefault

 

 

 

"https://cas/login"; , as you see in this url , hostname is lost, so i
couldnt finish my login process.

There is not any error log in apache and portal logs.

how can i solve this problem?  Is there any configuraton fils(s), that i
didnt configure?

 

When i use portal (and cas) without apache, everything successfully works.

 

Below you will see my httpd.conf and context.xml Thanks in advance..

 

---------------------------------------------------------------------------

/etc/httpd/conf.d/ssl.conf:

…..

<VirtualHost _default_:443>

 

SSLEngine on

 

SSLProtocol all -SSLv2

SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW

 

SSLProxyEngine On

SSLCertificateFile /openssl/server.crt

SSLCertificateKeyFile /openssl/server.key

SSLCACertificateFile /openssl/ca.crt

ProxyPreserveHost On

 

<Proxy  balancer://portalcluster>

        BalancerMember https://portal1:9443/ route=portaltomcat1

</Proxy>

        ProxyPass / balancer://portalcluster/ stickysession=JSESSIONID
nofailover=on

 

</VirtualHost>

…..

 

 

----------------------------------------------------------------------------

jboss-portal-2.7.2/server/default/deploy/jboss-portal.sar/portal-server.war/
WEB-INF/context.xml

 

<?xml version="1.0"?>

<Context>

   <Valve
className="org.jboss.portal.identity.sso.cas.CASAuthenticationValve"

        casLogin="https://portal1.hakyuz.hvl.com/cas/login";

        casLogout="https://portal1.hakyuz.hvl.com/cas/logout";

        casValidate="http://localhost:8080/cas/serviceValidate";

        casServerName="https://portal1.hakyuz.hvl.com";

        authType="FORM"

   />

 

</Context>

 

 


Internal Virus Database is out-of-date.
Checked by AVG.
Version: 7.5.557 / Virus Database: 270.12.10/2088 - Release Date: 4/30/2009
6:01 AM



Internal Virus Database is out-of-date.
Checked by AVG. 
Version: 7.5.557 / Virus Database: 270.12.10/2088 - Release Date: 4/30/2009
6:01 AM
 

Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size 
gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz.Firmamiza gelen 
ve giden mesajlar virus taramasindan gecirilmektedir. Mesajdaki gorusler  
gondericiye ait olup HAVELSAN A.S. resmi gorusu olmak zorunda degildir.

Attention: This e-mail message is private and privileged.If you are not the 
recipient for whom this e-mail message is intended, please notify the sender 
immediately and delete this e-mail message from your system.All sent and 
received e-mail messages go through a virus scan. Any opinions presented in 
this e-mail message are solely those of the author and do not necessarily 
represent HAVELSAN A.S.`s formal and authorized views.

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to