Problem while generating Xml tag

Hi MPS team,

        I have a problem while generation Xml file.I want to generate below tag.instaed of     role='ROLE_ADMIN'     but its generating   role='ROLE_ADMIN'

for example:

<security:jdbc-user-service authorities-by-username-query = "SELECT userName AS userName,role as authority FROM User where role='ROLE_ADMIN' and userName=?">

</security:jdbc-user-service>

regards,

Kiran

1 comment
Comment actions Permalink

Hello, Kiran!

During generation of xml language all problematic characters, including single quote, are escaped as they should be. What you get is a valid xml file.

Regards,

Julia

0

Please sign in to leave a comment.