1 Reply Latest reply on Mar 9, 2011 9:03 PM by kkas

    Error on creating a new user with Non-alphabetical characters

    kkas

      Hi.

       

      When I was creating a new user, I didn't know the only characters allowed for "user name" are alpha, digit, underscore, dash, and dot.

       

       

      So, I put Japanese characters as a new user name and GateIn didn't give an error.(I put "ユーザー"). Then I tried to change the password with e-mail notification function, but this didnot work.(I could receive the e-mail but couldnot change the password).

       

      -------------------------------------------------------------------------------------------

      2011/03/02 11:39:38 org.apache.catalina.realm.JAASRealm authenticate   

      警告: Cannot find message associated with key jaasRealm.loginException   

      javax.security.auth.login.LoginException: Login failed for a??a?1a??a??a?1a??   

              at org.exoplatform.services.security.jaas.SharedStateLoginModule.login(SharedStateLoginModule.java:80)   

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)   

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)   

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)   

              at java.lang.reflect.Method.invoke(Method.java:616)   

              at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)   

              at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)   

              at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)   

              at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)   

              at java.security.AccessController.doPrivileged(Native Method)   

              at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)   

              at javax.security.auth.login.LoginContext.login(LoginContext.java:594)   

              at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:410)   

              at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:335)   

              at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:259)   

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:449)   

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)   

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)   

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)   

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)   

              at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)   

              at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)   

              at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)   

              at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)   

              at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)   

              at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)   

              at java.lang.Thread.run(Thread.java:636)   

      -------------------------------------------------------------------------------------------

       

       

      If I put a 2-bytes number, like "2", with some Japanese characters("ユーザー2"), the error check gives me an error.

       

      I think this is a bug on input format checking.

       

      Also, similar problem is found in creating a new node or even a new portal.

       

       

      My env:

      ・CentOS 5.5.1

      ・OpenJDK1.6.0

      ・GateIn-3.1.0-FINAL-tomcat.tar.gz

       

       

      Thank you,

      Kenta