Hello.
I use resin 3.1.9..
om.caucho.server.security.JdbcAuthenticator fail form-base Authentication
which use UTF-8(2-byte) character.
resin 3.1.3 is success in UTF-8(2-byte) character.
-------- resin.conf ------------------------------
<web-app id="/testweb" root-directory="${resin.home}/webapps/testweb">
<authenticator>
<type>com.caucho.server.security.JdbcAuthenticator</type>
<init>
<data-source>jdbc/webauth</data-source>
<password-query>
SELECT login_pass FROM isas.login_view WHERE login_id=?
</password-query>
<role-query>
SELECT role FROM isas.login_view WHERE login_id=?
</role-query>
<password-digest>none</password-digest>
</init>
</authenticator>
</web-app>
----------- testweb/WEB-INF/web.xml ------------------
<web-app xmlns="http://java.sun.com/xml/ns/j2ee ....web-app_2_4.xsd">
...
...
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/loginfail.jsp</form-error-page>
</form-login-config>
</login-config>
</web-app>
------------------------------------------------------
How can I success authentication by JdbcAuthenticator
in UTF-8 2-byte character ?
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest