[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1571) Doco example is invalid XML

Boleslaw Dawidowicz (JIRA) jira-events at lists.jboss.org
Wed Jul 11 10:54:31 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPORTAL-1571?page=comments#action_12368583 ] 
            
Boleslaw Dawidowicz commented on JBPORTAL-1571:
-----------------------------------------------

you mean 

"
 <module-option name="principalsQuery">
     SELECT jbp_password FROM jbp_users WHERE jbp_uname=?
   </module-option 
"

I see that ending tag '</module-option ' is missing '/>'. Is that whats wrong?

> Doco example is invalid XML
> ---------------------------
>
>                 Key: JBPORTAL-1571
>                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1571
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal Reference Guide
>    Affects Versions: 2.6 Final
>            Reporter: Andrew Oliver
>         Assigned To: Julien Viet
>             Fix For: 2.6.1 Final, 2.8 Final
>
>
> 15.2.2 the config example:
> <login-module code = "org.jboss.portal.identity.auth.DBIdentityLoginModule"
>               flag="sufficient">
>    <module-option name="dsJndiName">java:/PortalDS</module-option>
>    <module-option name="principalsQuery">
>      SELECT jbp_password FROM jbp_users WHERE jbp_uname=?
>    </module-option
>    <module-option name="rolesQuery">
>      SELECT jbp_roles.jbp_name, 'Roles' FROM  jbp_role_membership INNER JOIN
>      jbp_roles ON jbp_role_membership.jbp_rid = jbp_roles.jbp_rid INNER JOIN jbp_users ON
>      jbp_role_membership.jbp_uid = jbp_users.jbp_uid WHERE jbp_users.jbp_uname=?
>    </module-option>
>    <module-option name="hashAlgorithm">MD5</module-option>
>    <module-option name="hashEncoding">HEX</module-option>
>    <module-option name="additionalRole">Authenticated</module-option>
> </login-module>
> principals quey  module option is missing ">"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list