# HG changeset patch # User František Kučera # Date 1311273323 -7200 # Node ID f08e57ab44807c41abdf61c551cedc9816a2e770 # Parent d4a1ac5d5fc527e0bacd911d7ee4c2f8d68a9a37 Konfigurace GlassFishe. diff -r d4a1ac5d5fc5 -r f08e57ab4480 java/sql-java-prihlasovani/nbproject/project.properties --- a/java/sql-java-prihlasovani/nbproject/project.properties Thu Jul 21 20:15:57 2011 +0200 +++ b/java/sql-java-prihlasovani/nbproject/project.properties Thu Jul 21 20:35:23 2011 +0200 @@ -38,7 +38,8 @@ javac.target=1.6 javac.test.classpath=\ ${javac.classpath}:\ - ${build.classes.dir} + ${build.classes.dir}:\ + ${libs.junit_4.classpath} javac.test.processorpath=\ ${javac.test.classpath} javadoc.additionalparam= diff -r d4a1ac5d5fc5 -r f08e57ab4480 java/sql-java-prihlasovani/src/cz/frantovo/jaas/sql/SQLLoginModul.java --- a/java/sql-java-prihlasovani/src/cz/frantovo/jaas/sql/SQLLoginModul.java Thu Jul 21 20:15:57 2011 +0200 +++ b/java/sql-java-prihlasovani/src/cz/frantovo/jaas/sql/SQLLoginModul.java Thu Jul 21 20:35:23 2011 +0200 @@ -3,7 +3,6 @@ import com.sun.appserv.security.AppservPasswordLoginModule; /** - * * TODO: později bude potomkem com.sun.appserv.security.AbstractLoginModule * @author fiki */ diff -r d4a1ac5d5fc5 -r f08e57ab4480 java/sql-java-prihlasovani/src/cz/frantovo/jaas/sql/SQLRealm.java --- a/java/sql-java-prihlasovani/src/cz/frantovo/jaas/sql/SQLRealm.java Thu Jul 21 20:15:57 2011 +0200 +++ b/java/sql-java-prihlasovani/src/cz/frantovo/jaas/sql/SQLRealm.java Thu Jul 21 20:35:23 2011 +0200 @@ -6,7 +6,6 @@ import java.util.Enumeration; /** - * * @author fiki */ public class SQLRealm extends AppservRealm { diff -r d4a1ac5d5fc5 -r f08e57ab4480 konfigurace/glassfish/login.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/konfigurace/glassfish/login.conf Thu Jul 21 20:35:23 2011 +0200 @@ -0,0 +1,7 @@ +/** + * Přijde do: glassfish/domains/…/config/login.conf + */ + +sqlRealm { + cz.frantovo.jaas.sql.SQLLoginModul required; +};