We use this to replace the action path with the ssl server path, maybe it's helping
<h:form id="LoginForm"> <h:commandButton action="#{identity.login}"> <s:defaultAction /> </h:commandButton> </h:form> <rich:jQuery selector="#LoginForm" timing="onload" query="attr({'action':'#{sslServerName}'+jQuery('#LoginForm').attr('action')})" />