Hi all,
   i'm trying to integrare changes to CAS Server to integrate te possibility to 
direct loging to CAS from HTML page (as describe in 
https://wiki.jasig.org/display/CAS/Using+CAS+without+the+Login+Screen).

I did in my Cas Server Project:
- change login-webflow.xml (as display below)
- create class ProvideLoginTicketToRemoteRequestorAction.java (as describe wiki 
note)
- map class ProvideLoginTicketToRemoteRequestorAction to bean 
provideLoginTicketToRemoteRequestorAction in 
provideLoginTicketToRemoteRequestor.xml
- change AuthenticationViaFormAction (as describe wiki note)
- create class CasUtility.java (as describe wiki note)
- create page viewRedirectToRequestor.jsp (as describe wiki note)
- map page in default_views.properties

Wiki note referer to StringFlow version 1 and I'm porting changes to SpringFlow 
2.

Here my Spring2 code implementation:
<on-start>
  <evaluate expression="initialFlowSetupAction" />
</on-start>
    
<!--WITHOUT LOGIN FLOW CHANGE-->
<action-state id="provideLoginTicketToRemoteRequestor">
  <evaluate expression="provideLoginTicketToRemoteRequestorAction" />
  <transition on="loginTicketRequested" to="viewRedirectToRequestor" />
  <transition on="continue" to="ticketGrantingTicketExistsCheck" 
/></action-state>
<view-state id="viewRedirectToRequestor" view="bmRedirectToRequestorView">
  <transition on="submit" to="realSubmit" />
</view-state>
<!--END WITHOUT LOGIN FLOW CHANGE-->
        
The actual state is:
- success login by Cas Login Page (and logout too)
- failed to get LoginTicket from HTML Page (display cas error page...)

My first question is:
- HTML page describe in page Using+CAS+without+the+Login+Screen has to proteced 
by Cas Filter?
- does anyone do this job in Cas Server version 3.4.x?

I really need feedback to provide this functionality,
any help are welcome.

Thanks in advance,
Francesco

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