Announcement Announcement Module
Collapse
No announcement yet.
Problem accented characters in login whith spring security Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem accented characters in login whith spring security

    I have a problem with accented characters in the log of my web application, the econding is set well with jboss 5.1 in server.xml so URIEncoding = "UTF-8" useBodyEncodingForURI = "true" and in the application web.xml so
    Code:
    <filter>  
    	    <filter-name>encodingFilter</filter-name>  
    	    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>  
    	    <init-param>  
    	       <param-name>encoding</param-name>  
    	       <param-value>UTF-8</param-value>  
    	    </init-param>  
    	    <init-param>  
    	       <param-name>forceEncoding</param-name>  
    	       <param-value>true</param-value>  
    	    </init-param>  
    	</filter>  
    	<filter-mapping>  
    	    <filter-name>encodingFilter</filter-name>  
    	    <url-pattern>/*</url-pattern>  
    	</filter-mapping>
    in all my applications I set the encoding <% @ page language = "java" contentType = "text / html; charset = UTF-8" pageEncoding = "UTF-8"%> in all parts of application of special and accented characters are recognized, but the accented characters in user login or password is not encrypted and the login is not working well, for the login i use spring security with <security:authentication-provider> <security:jdbc-user-service, does anyone know how to help me? thanks
Working...
X