If you want to use & inside xml you have to encode it.

?user=praksis&password=foo
should be changed to
?user=praksis&password=foo


BTW: In the JDBCRealm-howto they use ; to seperate
the password from the user.

?user=praksis;password=foo

As I'm not using mysql I'm not shure if that is correct.

> -----Original Message-----
> From: mech [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 14, 2003 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: JDBCRealm problem with MySQL after adding password 
> and changing
> user account
> 
> 
> connectionURL="jdbc:mysql://localhost:3307/praksis?user=praksi
> s&password
> =siskarp"
>                       userTable="benutzer" userNameCol="email"
> userCredCol="passwort"
>               userRoleTable="rollen" roleNameCol="rollenname"
> digest="SHA-1"/>
> 
> Now I only get weird error messages from the xml parser:
>       org.xml.sax.SAXParseException: The reference to entity
> "password" must end with the ';' delimiter.
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to