Konfigurace GlassFishe.
1.1 --- a/java/sql-java-prihlasovani/nbproject/project.properties Thu Jul 21 20:15:57 2011 +0200
1.2 +++ b/java/sql-java-prihlasovani/nbproject/project.properties Thu Jul 21 20:35:23 2011 +0200
1.3 @@ -38,7 +38,8 @@
1.4 javac.target=1.6
1.5 javac.test.classpath=\
1.6 ${javac.classpath}:\
1.7 - ${build.classes.dir}
1.8 + ${build.classes.dir}:\
1.9 + ${libs.junit_4.classpath}
1.10 javac.test.processorpath=\
1.11 ${javac.test.classpath}
1.12 javadoc.additionalparam=
2.1 --- a/java/sql-java-prihlasovani/src/cz/frantovo/jaas/sql/SQLLoginModul.java Thu Jul 21 20:15:57 2011 +0200
2.2 +++ b/java/sql-java-prihlasovani/src/cz/frantovo/jaas/sql/SQLLoginModul.java Thu Jul 21 20:35:23 2011 +0200
2.3 @@ -3,7 +3,6 @@
2.4 import com.sun.appserv.security.AppservPasswordLoginModule;
2.5
2.6 /**
2.7 - *
2.8 * TODO: později bude potomkem <code>com.sun.appserv.security.AbstractLoginModule</code>
2.9 * @author fiki
2.10 */
3.1 --- a/java/sql-java-prihlasovani/src/cz/frantovo/jaas/sql/SQLRealm.java Thu Jul 21 20:15:57 2011 +0200
3.2 +++ b/java/sql-java-prihlasovani/src/cz/frantovo/jaas/sql/SQLRealm.java Thu Jul 21 20:35:23 2011 +0200
3.3 @@ -6,7 +6,6 @@
3.4 import java.util.Enumeration;
3.5
3.6 /**
3.7 - *
3.8 * @author fiki
3.9 */
3.10 public class SQLRealm extends AppservRealm {
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/konfigurace/glassfish/login.conf Thu Jul 21 20:35:23 2011 +0200
4.3 @@ -0,0 +1,7 @@
4.4 +/**
4.5 + * Přijde do: glassfish/domains/…/config/login.conf
4.6 + */
4.7 +
4.8 +sqlRealm {
4.9 + cz.frantovo.jaas.sql.SQLLoginModul required;
4.10 +};