I've managed to edit the JSP to do this. The flow is getting to my Authentication Handler, where I'm getting an error that the One Time Password value is empty.
I know my credential class is being loaded properly (I've checked the logs) and its definitely hitting my Custom Authentication handled (Again I get logs from it).
So it looks like my custom parameter in the JSP isn't being passed to my Credential Class. I think this means I need to modify the login webflow to pass this new variable into the "credential" object which is passed onwards, but I'm not too sure how to do this.
Can anyone help?
XML Changes I've made so far:
Thanks
<view-state id="viewLoginForm" view="casLoginView" model="credential">
<binder>
<binding property="username" required="true"/>
<binding property="password" required="true"/>
<binding property="oneTimePassword" required="true"/>
<!--
<binding property="rememberMe" />
-->
</binder>
<on-entry>
<evaluate expression="credential.setOneTimePassword(requestParameters.oneTimePassword)"/>
<set name="viewScope.commandName" value="'credential'"/>
<!--
<evaluate expression="samlMetadataUIParserAction" />
-->
</on-entry>
<transition on="submit" bind="true" validate="true" to="realSubmit"/>
</view-state>