Guido Dubois created TOBAGO-1779:
------------------------------------
Summary: Servlet authentication
Key: TOBAGO-1779
URL: https://issues.apache.org/jira/browse/TOBAGO-1779
Project: MyFaces Tobago
Issue Type: Bug
Components: Core
Affects Versions: 4.0.0
Reporter: Guido Dubois
I want to use FORM Authentication, but it doesn't work.
I manipulate the login form according to the addressbook example.
**
* This code is needed to "repair" the submit parameter names and url to use
* the names that a required for servlet authentication.
*/
function() {
jQuery(Tobago.Utils.escapeClientId('page:j_username::field')).attr('name',
'j_username');
jQuery(Tobago.Utils.escapeClientId('page:j_password::field')).attr('name',
'j_password');
jQuery(Tobago.Utils.escapeClientId('page::form')).attr('action',
jQuery('[data-tobago-context-path]').data('tobago-context-path') +
'/j_security_check');
},
I have to change the searched field IDs. The field names are correctly setted.
The action right to. On error there is not displayed the configured error-page.
<tc:script> and <tc:style> are no more inserted.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)