Index: lams_build/build.xml
===================================================================
diff -u -red14466b91efb04c1968ec30e16da139f4324303 -r5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a
--- lams_build/build.xml (.../build.xml) (revision ed14466b91efb04c1968ec30e16da139f4324303)
+++ lams_build/build.xml (.../build.xml) (revision 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a)
@@ -58,12 +58,7 @@
-
-
-
-
-
+ description="builds sub projects">
-
-
-
-
-
-
-
-
-
Index: lams_build/common.properties
===================================================================
diff -u -rd2ac199ea7016f348497a8ea09238962de17c0c1 -r5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a
--- lams_build/common.properties (.../common.properties) (revision d2ac199ea7016f348497a8ea09238962de17c0c1)
+++ lams_build/common.properties (.../common.properties) (revision 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a)
@@ -36,9 +36,6 @@
# Directory where third party jars reside.
sharedlib=../lams_build/lib
-# Directory where shared dtd reside
-shareddtd=../lams_common/build/dtd
-
#deploy tool directory
deploy.tool.dir=../lams_build/deploy-tool
@@ -85,7 +82,6 @@
build.classes.java=${build}/classes/java
build.classes.test=${build}/classes/test/java
build.lib=${build}/lib
-build.auth.dtd=${build}/dtd
build.report=${build}/report
build.web=${build}/web
build.deploy=${build}/deploy
@@ -95,7 +91,6 @@
src.dir=${basedir}/src
src.java.dir=${src.dir}/java
src.test.dir=${basedir}/test/java
-src.lams.resources = ${src.java.dir}/org/lamsfoundation/lams/resources
#JBoss deploy directory - see OS dependent properties file
Fisheye: Tag 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a refers to a dead (removed) revision in file `lams_build/conf/unix/authentication/lamsauthentication.dtd'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a refers to a dead (removed) revision in file `lams_build/conf/unix/authentication/lamsauthentication.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a refers to a dead (removed) revision in file `lams_build/conf/windows/authentication/lamsauthentication.dtd'.
Fisheye: No comparison available. Pass `N' to diff?
Fisheye: Tag 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a refers to a dead (removed) revision in file `lams_build/conf/windows/authentication/lamsauthentication.xml'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_build/unix.properties
===================================================================
diff -u -ra48ae75fc6d555f7187912e27d13934cfdec0c7e -r5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a
--- lams_build/unix.properties (.../unix.properties) (revision a48ae75fc6d555f7187912e27d13934cfdec0c7e)
+++ lams_build/unix.properties (.../unix.properties) (revision 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a)
@@ -24,15 +24,15 @@
conf=${basedir}/conf/unix
conf.jboss=${conf}/jboss
-conf.auth=${conf}/authentication
contentrepository.directory=/var/opt/${conf.application}/repository
#JBoss deploy directory (Unix)
jboss.home=/usr/local/jboss-4.0.2/
-jboss.ear.deploy=${jboss.home}server/default/deploy/
-jboss.deploy=${jboss.home}server/default/deploy/${conf.application}.ear
jboss.server=${jboss.home}server/
jboss.server.instance=${jboss.server}default
+jboss.ear.deploy=${jboss.server.instance}/deploy/
+jboss.deploy=${jboss.ear.deploy}/${conf.application}.ear
-j2eelibs=${jboss.home}server/default/lib
\ No newline at end of file
+
+j2eelibs=${jboss.server.instance}/lib
\ No newline at end of file
Index: lams_build/windows.properties
===================================================================
diff -u -ra48ae75fc6d555f7187912e27d13934cfdec0c7e -r5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a
--- lams_build/windows.properties (.../windows.properties) (revision a48ae75fc6d555f7187912e27d13934cfdec0c7e)
+++ lams_build/windows.properties (.../windows.properties) (revision 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a)
@@ -22,16 +22,16 @@
conf=${basedir}/conf/windows
conf.jboss=${conf}/jboss
-conf.auth=${conf}/authentication
contentrepository.directory=C:/${conf.application}/repository
#JBoss deploy directory (Windows)
-jboss.home=D:/jboss-4.0.2/
-jboss.ear.deploy=${jboss.home}server/default/deploy/
-jboss.deploy=${jboss.home}server/default/deploy/${conf.application}.ear
+jboss.home=E:/jboss-4.0.2/
jboss.server=${jboss.home}server/
jboss.server.instance=${jboss.server}default
+jboss.ear.deploy=${jboss.server.instance}/deploy/
+jboss.deploy=${jboss.ear.deploy}/${conf.application}.ear
-j2eelibs=${jboss.home}server/default/lib
+j2eelibs=${jboss.server.instance}/lib
+
Fisheye: Tag 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a refers to a dead (removed) revision in file `lams_central/src/java/org/lamsfoundation/lams/security/AuthenticationMethodConfigurer.java'.
Fisheye: No comparison available. Pass `N' to diff?
Index: lams_central/src/java/org/lamsfoundation/lams/security/DatabaseAuthenticator.java
===================================================================
diff -u -raa7e502bb28fa1df94980fadea3876a83e842ae4 -r5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a
--- lams_central/src/java/org/lamsfoundation/lams/security/DatabaseAuthenticator.java (.../DatabaseAuthenticator.java) (revision aa7e502bb28fa1df94980fadea3876a83e842ae4)
+++ lams_central/src/java/org/lamsfoundation/lams/security/DatabaseAuthenticator.java (.../DatabaseAuthenticator.java) (revision 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a)
@@ -27,25 +27,18 @@
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
+
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
-import org.lamsfoundation.lams.usermanagement.AuthenticationMethod;
-
public class DatabaseAuthenticator
{
private String dsJndiName;
private String principalsQuery;
- public DatabaseAuthenticator(AuthenticationMethod method)
- {
- this.dsJndiName = method.getParameterByName("dsJndiName").getValue();
- this.principalsQuery = method.getParameterByName("principalsQuery").getValue();
- }
-
public DatabaseAuthenticator(String dsJndiName, String principalsQuery) {
this.dsJndiName = dsJndiName;
this.principalsQuery = principalsQuery;
Index: lams_common/build.xml
===================================================================
diff -u -r1504a7436cb1d7424aa9e7c1a9d9fc128079280e -r5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a
--- lams_common/build.xml (.../build.xml) (revision 1504a7436cb1d7424aa9e7c1a9d9fc128079280e)
+++ lams_common/build.xml (.../build.xml) (revision 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a)
@@ -152,7 +152,6 @@
-
@@ -163,20 +162,8 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -191,11 +178,6 @@
-
-
-
-
-
Index: lams_common/src/java/org/lamsfoundation/lams/usermanagement/AuthenticationMethod.java
===================================================================
diff -u -r08950e1090443c3423a3d1c587416a2fccd8bbdf -r5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a
--- lams_common/src/java/org/lamsfoundation/lams/usermanagement/AuthenticationMethod.java (.../AuthenticationMethod.java) (revision 08950e1090443c3423a3d1c587416a2fccd8bbdf)
+++ lams_common/src/java/org/lamsfoundation/lams/usermanagement/AuthenticationMethod.java (.../AuthenticationMethod.java) (revision 5e828bbc5f2a11fa8b55f616b1eb0e4c0489c68a)
@@ -25,7 +25,6 @@
import java.io.Serializable;
import java.util.Set;
-import java.util.List;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
@@ -56,8 +55,6 @@
private Set users;
private boolean enabled = true;
-
- private List authenticationMethodParameters;
/** full constructor */
public AuthenticationMethod(String authenticationMethodName, AuthenticationMethodType authenticationMethodType, Set users) {
@@ -148,30 +145,7 @@
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
-
- /**
- * @return Returns the authenticationMethodParameters.
- */
- public List getAuthenticationMethodParameters() {
- return authenticationMethodParameters;
- }
- /**
- * @param authenticationMethodParameters The authenticationMethodParameters to set.
- */
- public void setAuthenticationMethodParameters(
- List authenticationMethodParameters) {
- this.authenticationMethodParameters = authenticationMethodParameters;
- }
- public AuthenticationMethodParameter getParameterByName(String name){
- for(int i=0; i