[cas-dev] CASified WebFlow-based app

Shoji Kajita kajita at nagoya-u.jp
Fri Sep 8 11:26:11 EDT 2006


Hi there,

I'm now developing and CASify a Web app using WebFlow.

In the initial state, I would like to authenticate user something like:

<flow start-state="CasAuthentication">

<action-state id="CasAuthentication">
<action bean="appManager" method="" result-scope="flow"
result-name="userId"/>
<transition on="success" to="nextState"/>
</action-state>

....

</flow>

Probably, I need to implement a handleRequestInternal

public class CasAuthenticator extends AbstractController {
....
ModelAndView handleRequestInternal(HttpServletRequest request,
HttpServletResponse response) throws IOException {
....
}
}

to use CAS java client.

Do you have any good example for this?

Using CASFilter would be an another solution but we would like to use
CAS Java client.

I appreciate if you give me pointers to address this.

Best regards,
Shoji



More information about the cas-dev mailing list