rogerrut 2005/02/01 16:49:05 Modified: applications/demo/src/webapp/WEB-INF/view database-edit.vm applications/demo/src/webapp/WEB-INF portlet.xml Log: SSO -- Added SSO support to Database Browser Revision Changes Path 1.4 +10 -4 jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/view/database-edit.vm Index: database-edit.vm =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/view/database-edit.vm,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- database-edit.vm 20 Jan 2005 21:14:44 -0000 1.3 +++ database-edit.vm 2 Feb 2005 00:49:05 -0000 1.4 @@ -79,16 +79,22 @@ <h4 class="portlet-section-header">$MESSAGES.getString('label.sso.settings')</h4>
<table border="0" cellspacing="2" cellpadding="3"> +<tr> + <th class="portlet-section-alternate"><font class="portlet-form-field-label">$MESSAGES.getString("label.jdbc.driver")</font></th> + <td> + <input type="input" name="SSOJdbcDriver" $!disableSSO value="$!prefsMap.get('JdbcDriver')" size="60" maxlength="60" class="portlet-form-field-label"/> + </td> + </tr> <tr> - <th class="portlet-section-alternate"><font class="portlet-form-field-label">SSO Site</font></th> + <th class="portlet-section-alternate"><font class="portlet-form-field-label">$MESSAGES.getString("label.jdbc.connection")</font></th> <td> - <input type="input" name="SSOSite" $!disableSSO value="$!prefsMap.get('SSOSite')" size="60" maxlength="60" class="portlet-form-field-label"/> + <input type="input" name="SSOJdbcConnection" $!disableSSO value="$!prefsMap.get('JdbcConnection')" size="60" maxlength="60" class="portlet-form-field-label"/> </td> </tr> <tr> - <th class="portlet-section-alternate"><font class="portlet-form-field-label">SSO Remote Principal</font></th> + <th class="portlet-section-alternate"><font class="portlet-form-field-label">SSO Site</font></th> <td> - <input type="input" name="SSOPrincipal" $!disableSSO value="$!prefsMap.get('SSOPrincipal')" size="60" maxlength="60" class="portlet-form-field-label"/> + <input type="input" name="SSOSite" $!disableSSO value="$!prefsMap.get('SSOSite')" size="60" maxlength="60" class="portlet-form-field-label"/> </td> </tr> </tr> 1.34 +3 -7 jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/portlet.xml Index: portlet.xml =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/portlet.xml,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- portlet.xml 11 Jan 2005 09:32:31 -0000 1.33 +++ portlet.xml 2 Feb 2005 00:49:05 -0000 1.34 @@ -632,11 +632,11 @@ </preference> <preference> <name>JdbcDriver</name> - <value>org.hsqldb.jdbcDriver</value> + <value>com.mysql.jdbc.Driver</value> </preference> <preference> <name>JdbcConnection</name> - <value>jdbc:hsqldb:hsql://127.0.0.1:9001</value> + <value>jdbc:mysql://127.0.0.1/j2</value> </preference> <preference> <name>JdbcUsername</name> @@ -649,11 +649,7 @@ <preference> <name>SSOSite</name> <value></value> - </preference> - <preference> - <name>SSOPrincipal</name> - <value></value> - </preference> + </preference> <preference> <name>WindowSize</name> <value>10</value> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]