Hi,

I've configured the x509-certificate authentication ok under CAS 3.4.3.1, which 
logs the user in when the certificate is present.

But the scenario we'd like to achieve is to show the username-password login 
page when accesing cas/login, and there a link to certificate acces for example 
under /cas/login-cert. I don't want to directly logs in when certificate is 
present.

I guess using two web-flow, is that correct? 

I'm a spring newbie and I may have to edit cas-servlet.xml but I don't know how.

For example is correct to create two FlowHandlerMapping and duplicate 
flowRegistry and flowExecutor?

...

 <bean id="login" 
class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping" 
p:flowRegistry-ref="flowRegistry" p:order="2">
        <property name="interceptors">
            <ref local="localeChangeInterceptor" />
        </property>
    </bean>

        <bean id="loginControl" 
class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping" 
p:flowRegistry-ref="flowRegistry-cert" p:order="2">
        <property name="interceptors">
            <ref local="localeChangeInterceptor" />
        </property>
    </bean>
...


Any suggestions?

Thanks in advance

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to