Depending on the version of CAS used, you may need to explicitly add that
path to the web.xml and map it to the CAS servlet.

Cheers,
Scott



On Thu, May 23, 2013 at 8:10 AM, James Sumners <
[email protected]> wrote:

> Nope. That doesn't work.
>
> ~ James
>
> On May 22, 2013, at 4:57 PM, "Lazar, Michael E" <[email protected]>
>  wrote:
>
> > I believe there is a file in the classes folder: default_views.properties
> > If you put your page item in there, and add the file to your war overlay
> you should be able to then include the step in your webflow.
> > Hope this helps!
> > -Michael.
> >
> >
> > -----Original Message-----
> > From: James Sumners [mailto:[email protected]]
> > Sent: Wednesday, May 22, 2013 1:54 PM
> > To: [email protected]
> > Subject: [cas-user] Add a new page?
> >
> > I want to add a new page, /logoutWarn, to my CAS installation. I have
> written my new controller and JSP and added the following to the servlet
> configuration:
> >
> > ==========
> >  <bean
> >      id="handlerMappingC"
> >
>  class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
> >    <property name="mappings">
> >      <props>
> >        <!-- cut out the default mappings for clarity -->
> >        <prop key="/logoutWarn">logoutWarnController</prop>
> >      </props>
> >    </property>
> >    <property name="alwaysUseFullPath" value="true"/>
> >  </bean>
> >
> >  <bean id="logoutWarnController"
> class="edu.clayton.cas.controllers.LogoutWarnController" /> ==========
> >
> > Whenever I try to view the /logoutWarn page I get redirected to the
> /login page. It doesn't matter if I'm logged in or not (and for testing, I
> don't really care about having to be logged in). What do I need to do to
> get this working?
> >
> > ~ James
> > --
> > 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
> >
> >
> >
> > --
> > 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
> >
>
>
> --
> 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
>
>

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