[cas-dev] configuration files 3.0.5/3.1.1
Meik Suchlich
meik.suchlich at brand-ad.de
Fri Dec 14 08:53:15 EST 2007
I'm sorry, it's really my fault.
There is no difference in my installation to the default installation,
that's why I said, there is none.
The difference was in my configfile and I was sooooo blind to see it.
Can you excuse my posts. Now it works like it did before!
Thanks a lot for help!!
Meik
________________________________
Von: cas-dev-bounces at tp.its.yale.edu
[mailto:cas-dev-bounces at tp.its.yale.edu] Im Auftrag von Scott Battaglia
Gesendet: Freitag, 14. Dezember 2007 13:36
An: Mailing list for CAS developers
Betreff: Re: [cas-dev] configuration files 3.0.5/3.1.1
On Dec 14, 2007 3:16 AM, Meik Suchlich <meik.suchlich at brand-ad.de>
wrote:
You say that the files have moved. But that cannot be correct,
because in the default installation warfile they are at the same
location.
I'm pretty sure I'm correct that they did move between the 3.0.5 release
and the 3.1.1 release:
http://developer.ja-sig.org/source/browse/jasigsvn/cas3/tags/cas-3-1-1-f
inal/cas-server-webapp/src/main/webapp/WEB-INF/view/jsp/protocol
http://developer.ja-sig.org/source/browse/jasigsvn/cas3/tags/cas-3-0-5-f
inal/webapp/WEB-INF/view/jsp/default/protocol
-Scott
And I don't change any Path to that files, so that is definitely
not the problem.
I merged my changes and I can't see any fault in my merge,
because I didn't make so much changes.
I think the cas/proxyValidate is not correct. Because if I call
https://.../cas/proxyValidate I get the loginPage in cas-3.1.1.
In cas 3.0.5 I get this message: "'service' and 'ticket'
parameters are both required"
I found one fault in my implementation, which I corrected, but
the result is the same. The output is a little bit different (marked
red, the de_DE is new, what about that?)
2007-12-14 09:06:36,541 DEBUG
[org.springframework.web.servlet.view.RedirectView] - <Rendering view
with name 'null' with model null and static attributes {}>
2007-12-14 09:06:46,745 DEBUG
[org.springframework.web.servlet.view.ResourceBundleViewResolver] -
<Cached view [casServiceSuccessView_de_DE]>
2007-12-14 09:06:46,745 DEBUG
[org.springframework.web.servlet.view.JstlView] - <Rendering view with
name 'casServiceSuccessView' with model
{assertion=[principals={[[Principal=ba002709:001,
attributes={profilerid=}]]} for
service=http://localhost:8080/XXX/login.do]
<http://localhost:8080/XXX/login.do%5D> } and static attributes {}>
2007-12-14 09:06:46,745 DEBUG
[org.springframework.web.servlet.view.JstlView] - <Added model object
'assertion' of type [org.jasig.cas.validation.ImmutableAssertionImpl] to
request in view with name 'casServiceSuccessView'>
2007-12-14 09:06:46,745 DEBUG
[org.springframework.web.servlet.view.JstlView] - <Forwarded to resource
[/WEB-INF/view/jsp/default/protocol/2.0/casServiceValidationSuccess.jsp]
in InternalResourceView 'casServiceSuccessView'>
2007-12-14 09:06:46,776 DEBUG
[org.springframework.web.servlet.view.ResourceBundleViewResolver] -
<Cached view [casLoginView_de_DE]>
2007-12-14 09:06:46,776 DEBUG
[org.springframework.web.servlet.view.JstlView] - <Rendering view with
name 'casLoginView' with model {ticketGrantingTicketId=null,
service=http://localhost:8080/XXX/login.do, credentials=null,
org.springframework.validation.BindException.credentials=org.springframe
work.validation.BindException :
org.springframework.validation.BeanPropertyBindingResult: 0 errors,
org.springframework.validation.BindException.currentFormObject=org.sprin
gframework.validation.BindException :
org.springframework.validation.BeanPropertyBindingResult: 0 errors,
currentFormObject=null, warnCookieValue=false,
flowExecutionContext=[FlowExecutionImpl at 1d73ff5 flow = 'login-webflow',
flowSessions = list[[FlowSessionImpl at 1624317 flow = 'login-webflow',
state = 'viewLoginForm', scope = map['credentials' -> null, 'service' ->
http://localhost:8080/XXX/login.do, 'ticketGrantingTicketId' -> [null],
'currentFormObject' -> null, 'warnCookieValue' -> false], flashMap =
map['org.springframework.validation.BindException.credentials' ->
org.springframework.validation.BindException :
org.springframework.validation.BeanPropertyBindingResult: 0 errors,
'org.springframework.validation.BindException.currentFormObject' ->
org.springframework.validation.BindException :
org.springframework.validation.BeanPropertyBindingResult: 0 errors],
status = Paused]]], commandName=credentials,
flowExecutionKey=_cAC6DF99F-ECA5-C014-609A-E3C448440EA9_k5BA213EC-1EDE-9
A81-F094-137CD273FEB3} and static attributes {}>
I can't find the misconfiguration in cas-servlet:
<? xml version ="1.0" encoding ="UTF-8" ?>
< beans xmlns ="http://www.springframework.org/schema/beans "
xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xmlns:flow=
"http://www.springframework.org/schema/webflow-config"
xmlns:p= "http://www.springframework.org/schema/p"
xmlns:util= "http://www.springframework.org/schema/util"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/webflow-config
http://www.springframework.org/schema/webflow-config/spring-webflow-conf
ig-1.0.xsd
http://www.springframework.org/schema/util
http://www.springframework.org/schema/util/spring-util-2.0.xsd" >
< bean id= "casPropertyPlaceholderConfigurer" class
="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
"
p:location= "/WEB-INF/cas.properties" />
<!-- Theme Resolver -->
< bean id= "themeResolver" class
="org.jasig.cas.services.web.ServiceThemeResolver"
p:defaultThemeName=
"${cas.themeResolver.defaultThemeName}"
p:argumentExtractors-ref= "argumentExtractors" />
<!-- View Resolver -->
< bean id= "viewResolver" class
="org.springframework.web.servlet.view.ResourceBundleViewResolver"
p:order= "0">
<property name= "basenames">
<list >
<value >${cas.viewResolver.basename}
</value >
<value >protocol_views </value >
</list >
</property >
</ bean >
<!-- Locale Resolver -->
< bean id= "localeResolver" class
="org.springframework.web.servlet.i18n.CookieLocaleResolver" />
< bean id= "localeChangeInterceptor" class
="org.springframework.web.servlet.i18n.LocaleChangeInterceptor" />
< bean id= "urlBasedViewResolver" class
="org.springframework.web.servlet.view.UrlBasedViewResolver"
p:viewClass=
"org.springframework.web.servlet.view.AbstractUrlBasedView" />
< bean id= "errorHandlerResolver" class
="org.jasig.cas.web.NoSuchFlowExecutionExceptionResolver" />
<!-- Handler Mapping -->
< bean id= "handlerMappingB" class
="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping" >
<property
name= "mappings">
<props >
<prop
key= "/login"> loginController</
prop>
</props >
</property >
<property
name= "interceptors">
<list >
<ref bean= "localeChangeInterceptor" />
</list >
</property >
</ bean >
< bean
id= "handlerMappingC"
class=
"org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
<property
name= "mappings">
<props >
<prop
key= "/logout">
logoutController
</prop >
<prop
key= "/serviceValidate">
serviceValidateController
</prop >
<prop
key= "/validate">
legacyValidateController
</prop >
<prop
key= "/proxy">
proxyController
</prop >
<prop
key= "/proxyValidate">
proxyValidateController
</prop >
<prop
key= "/samlValidate">
samlValidateController
</prop >
<prop
key= "/services/add.html">
addRegisteredServiceSimpleFormController
</prop >
<prop
key= "/services/edit.html">
editRegisteredServiceSimpleFormController
</prop >
<prop
key= "/services/loggedOut.html">
serviceLogoutViewController
</prop >
<prop
key= "/services/*">
manageRegisteredServicesMultiActionController
</prop >
<prop
key= "/openid/*">
openIdProviderController</ prop>
</props >
</property >
<property
name= "alwaysUseFullPath" value ="true" />
<!--
uncomment this to enable sending PageRequest events.
<property
name="interceptors">
<list>
<ref
bean="pageRequestHandlerInterceptorAdapter" />
</list>
</property>
-->
</ bean >
< bean
id= "openIdProviderController"
class= "org.jasig.cas.web.OpenIdProviderController"
p:loginUrl=
"${cas.securityContext.casProcessingFilterEntryPoint.loginUrl}" />
< bean
id= "serviceLogoutViewController"
class=
"org.springframework.web.servlet.mvc.ParameterizableViewController"
p:viewName= "serviceLogoutView" />
<span style='font-size:10.0pt;font-family:"Courier New"
_______________________________________________
cas-dev mailing list
cas-dev at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas-dev
--
-Scott Battaglia
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20071214/d3807625/attachment-0001.html
More information about the cas-dev
mailing list