Patch for the bug of OpenID only authentication
-----------------------------------------------
Key: ROL-1925
URL: https://issues.apache.org/jira/browse/ROL-1925
Project: Roller
Issue Type: Bug
Components: Authentication, Roles and Access Controls
Affects Versions: 5.0
Reporter: Shutra
Assignee: Roller Unassigned
Fix For: 5.0
1. Fix the javascript error in Register page:
错误: document.register['bean.passwordText'] is undefined
源文件:https://example.com/roller/roller-ui/register.rol;jsessionid=043E3D9D1D765A9BD3976074DC56670C
行:1062
2. Genrate a random string for the non-nullable passphrase filed.
3. Override lookupRealm method of OpenIDAuthenticationProcessingFilter in
spring-security-openid-2.0.5 to ignore the issue about appending wrong port to
the url, for example, it may append "80" to an url with https scheme.
4. Use openid_identifier as the html form field to match the openid spec, and
ignore duplicate ID "j_username" while using hybrid authentication methods.
Enhanced the function: restoring username from cookie.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira