Dear all,

we are trying to setup cashib server but in log files we noticed a passcode 
problem:

2011-04-20 14:18:01,246 DEBUG
[org.springframework.webflow.engine.impl.FlowExecutionImpl] -
<Attempting to handle
[org.springframework.webflow.execution.ActionExecutionException:
Exception thrown executing
edu.ucmerced.cas.web.flow.CasShibInitialFlowSetupAction@326cbecf in
state 'null' of flow 'login' -- action execution attributes were
'map[[empty]]'] with root cause
[org.jasig.cas.services.UnauthorizedServiceException: The passcode
provided is invalid.]>

But we don't understand why the passcode is invalid because we set it correctly 
in the configuration files: web.xml and casshib-service-registration.xml

casshib-service-registration.xml

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<shibServiceRegistrations>
 <service id="https://halfback.cnaf.infn.it:9494/app1/";
          appname="app1"
          passcode="101"/>
</shibServiceRegistrations>


web.xml

<filter>
   <filter-name>CAS Authentication Filter</filter-name>
   <filter-
class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-
class>
   <init-param>
     <param-name>casServerLoginUrl</param-name>
     <param-value>https://halfback.cnaf.infn.it:9494/casshib/shib/
app1/login</param-value>
   </init-param>
   <init-param>
     <param-name>serverName</param-name>
     <param-value>https://halfback.cnaf.infn.it:9494</param-value>
   </init-param>
 </filter>

 <!-- cas 2.0 validator -->
 <filter>
   <filter-name>CAS Validation Filter</filter-name>
   <filter-
class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</
filter-class>
   <init-param>
     <param-name>casServerUrlPrefix</param-name>
     <param-value>https://halfback.cnaf.infn.it:9494/casshib/shib/
101</param-value>
   </init-param>
   <init-param>
     <param-name>serverName</param-name>
     <param-value>https://halfback.cnaf.infn.it:9494</param-value>
   </init-param>
 </filter>

Do you have a solution at this problem or some suggestions?

Thanks for your support,
Marco B

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