Hi, 

I need help, i have thoses responses on my navigator and my log files and I 
don't know what can i do ?

https://tabac.xxxx.fr/cas_exemple/?ticket=ST-1-CVywd4Zh6Q5fabaKafgo-tabac

Response on my navigator:
______________________
Authorization Required
This server could not verify that you are authorized to access the document 
requested. Either you supplied the wrong credentials (e.g., bad password), or 
your browser doesn't understand how to supply the credentials required.


tail -f cas.log

=============================================================
WHO: [username: toto]
WHAT: supplied credentials: [username: toto]
ACTION: AUTHENTICATION_SUCCESS
APPLICATION: CAS
WHEN: Fri Jun 06 14:57:06 CEST 2014
CLIENT IP ADDRESS: 10.10.0.180
SERVER IP ADDRESS: 10.10.0.210
=============================================================


2014-06-06 14:57:06,190 INFO 
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit trail 
record BEGIN
=============================================================
WHO: [username: toto]
WHAT: TGT-1-Txw7FYPxH6nMXqHbotc2TlMo5drEFqr0kcyxupi0xpxPu12S17-tabac
ACTION: TICKET_GRANTING_TICKET_CREATED
APPLICATION: CAS
WHEN: Fri Jun 06 14:57:06 CEST 2014
CLIENT IP ADDRESS: 10.10.0.180
SERVER IP ADDRESS: 10.10.0.210
=============================================================


2014-06-06 14:57:06,200 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - 
Granted service ticket [ST-1-CVywd4Zh6Q5fabaKafgo-tabac] for service 
[https://tabac.xxx.fr/cas_exemple/] for user [toto]
2014-06-06 14:57:06,200 INFO 
[com.github.inspektr.audit.support.Slf4jLoggingAuditTrailManager] - Audit trail 
record BEGIN
=============================================================
WHO: toto
WHAT: ST-1-CVywd4Zh6Q5fabaKafgo-tabac for https://tabac.xxx.fr/cas_exemple/
ACTION: SERVICE_TICKET_CREATED
APPLICATION: CAS
WHEN: Fri Jun 06 14:57:06 CEST 2014
CLIENT IP ADDRESS: 10.10.0.180
SERVER IP ADDRESS: 10.10.0.210
=============================================================

cat  cas_example

<IfModule mod_auth_cas.c>
      #CASValidateServer On
      CASValidateServer Off
      #CASCertificatePath /etc/apache2/ssl/cas.pem
      CASCertificatePath /etc/tomcat7/Catalina/ssl/tabac.xxx.fr.cert
      #CASCookiePath /var/cache/apache2/auth_cas/
      CASCookiePath /var/cache/apache2/mod_auth_cas/
      #CASLoginURL https://idp.inra.fr/cas/login
      CASLoginURL https://tabac.xxx.fr:8443/cas-server-webapp-3.4.12.1/login
      #CASValidateURL https://idp.inra.fr/cas/serviceValidate
      CASValidateURL 
https://tabac.xxx.fr:8443/cas-server-webapp-3.4.12.1/serviceValidate
      #CASProxyValidateURL https://idp.inra.fr/cas/proxyValidate
      CASProxyValidateURL 
https://tabac.xxx.fr:8443/cas-server-webapp-3.4.12.1/proxyValidate
      CASSSOEnabled On
      CASValidateServer On
      CASDebug Off
</IfModule>
<Directory /var/www/cas_exemple>
                DirectoryIndex index.shtml index.html
                AddHandler server-parsed .shtml
                Options Indexes FollowSymLinks MultiViews +includesNoExec
                SSLOptions +StdEnvVars
                AllowOverride All
                Order allow,deny
                allow from all
       
                
                #### cas 
                <IfModule mod_auth_cas.c>
                AuthType CAS
                AuthName "CAS"
                #------- utilisateurs authentifi??
                </IfModule>
                Require valid-user
               #Redirect /cas_exemple 
https://tabac.xxx.fr:8443/cas-server-webapp-3.4.12.1/login
</Directory>
====
cat deployerConfigContext.xml

....
        <bean 
class="org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler"
 />

.....

=====

cheers Antares

-- 
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