If i am using umlauts as login name or in my password, FormAuthentication fails 
because of wrong input. I have just tried to set encoding for my form:
<form action="j_security_check" method="post" enctype="UTF-8">

Not working anyway. I tried to login with name "testü" but all i can see in 
server.log was:
[org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl] No user found with name: 
testÃÂ

Like you can see i am using LDAPModule and FORM authentication. I have googled 
to set right encoding type for FORM authentication but all i have found was 
this:
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=7&t=018703

Description that you could set encoding type for tomcat:
<Valve className="org.apache.catalina.authenticator.FormAuthenticator" 
characterEncoding="UTF-8"/>
does not work (or i do not know how), because all i have found in JBoss was 
(jboss-service.xml):
<java:property>
  |    <java:key>FORM</java:key>
  |    
<java:value>org.apache.catalina.authenticator.FormAuthenticator</java:value>
  | </java:property>

I see no possibility to set encoding type there? Please help me, how can i use 
special characters like "ü" (german umlauts like "ue" are not really possible 
in this forum ?) in my login credentials?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179720#4179720

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179720

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to