Thanks. I appreciate all the help. ---------------------------------------------------------- Peter Giannopoulos, Software Developer Gemplus Software, Advanced Projects Group Phone: +15147322434 Fax: +15147322401 Gemplus Card International, Http://www.gemplus.fr ----------------------------------------------------------- -----Original Message----- From: Charles Sabourdin [mailto:[EMAIL PROTECTED]] Sent: January 19, 2001 10:18 AM To: [EMAIL PROTECTED] Subject: RE: Pointers on JDBCRealms I forget to add that you should add into your web.xml (in the webapps) the security set to avoid anonymous login. <security-constraint> <web-resource-collection> <web-resource-name>Protected Area</web-resource-name> <!-- Define the context-relative URL(s) to be protected --> <url-pattern>/protected/*</url-pattern> <!-- If you list http methods, only those methods are protected --> <http-method>DELETE</http-method> <http-method>GET</http-method> <http-method>POST</http-method> <http-method>PUT</http-method> </web-resource-collection> <auth-constraint> <!-- Anyone with one of the listed roles may access this area --> <!-- ce rappeller qu'il faut editer le fichier tomcat-users.xml dans le repertoire conf de tomcat/conf/tomcat-users.xml --> <role-name>theRoleAccepted1</role-name> <role-name>theRoleAccepted2</role-name> </auth-constraint> </security-constraint> <!-- Default login configuration uses BASIC authentication --> <!-- <login-config> <auth-method>BASIC</auth-method> <realm-name>Example Basic Authentication Area</realm-name> </login-config> --> <!-- Form-based login is enabled by default. If you wish to try Basic authentication, comment out the <login-config> section below and uncomment the one above. --> <login-config> <auth-method>FORM</auth-method> <realm-name>Please identify yourself</realm-name> <form-login-config> <form-login-page>/security/login/login.jsp</form-login-page> <form-error-page>/security/login/error.jsp</form-error-page> </form-login-config> </login-config> --- Peter Giannopoulos <[EMAIL PROTECTED]> wrote: > > Thanks. I have tried this, but unfortunately I can't > help but feel that I > REALLY have a week grasp on the concept of > JDBCRealms and how I can get the > MOST use out of them. > > > > ---------------------------------------------------------- > Peter Giannopoulos, Software Developer > Gemplus Software, Advanced Projects > Group > > Phone: +15147322434 > Fax: +15147322401 > Gemplus Card International, > Http://www.gemplus.fr > ----------------------------------------------------------- > > -----Original Message----- > From: Charles Sabourdin [mailto:[EMAIL PROTECTED]] > Sent: January 19, 2001 5:33 AM > To: [EMAIL PROTECTED] > Subject: RE: Pointers on JDBCRealms > > > JDBCRealm.howto > is in the documentation in tomcat > but I perssonnaly never manage to make it works > until > the tomcat 3.2.1 > secondly, you un comment the > > <!-- UnComment the following and comment out the > above to get a JDBC realm. > Other options for driverName: > > driverName="oracle.jdbc.driver.OracleDriver" > > connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL" > connectionName="scott" > connectionPassword="tiger" > > driverName="org.gjt.mm.mysql.Driver" > > connectionURL="jdbc:mysql://localhost/authority" > connectionName="test" > connectionPassword="test" > > <!-- "connectionName" and > "connectionPassword" are optional. --> > > and comment the > <!-- Check permissions using the simple xml file. > You > can > plug more advanced authentication > modules. > > <RequestInterceptor > > className="org.apache.tomcat.request.SimpleRealm" > debug="0" /> --> > othwise the simpleRealm overload teh JDBC > And don't forget the driver into \lib > > @++ > > > --- Vijay Prabhakar <[EMAIL PROTECTED]> > wrote: > > My apologies...I didn't do that cut and paste > quite > > the way I meant to > > :) > > > > > > -----Original Message----- > > From: Vijay Prabhakar > > Sent: Thursday, January 18, 2001 5:39 PM > > To: [EMAIL PROTECTED] > > Subject: RE: Pointers on JDBCRealms > > > > > > If you get such a document, could you pass it my > > way? I'm interested in > > that as well. Thanks! > > -Vijay > > -----Original Message----- > > From: Peter Giannopoulos > > [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, January 18, 2001 5:31 PM > > To: [EMAIL PROTECTED] > > Subject: Pointers on JDBCRealms > > > > > > Hello all, > > can anyone give me some pointers on documentation > or > > even examples that > > make > > use of JDBCRealms in a clear and concise manner? > > > > > > Thanks in advance. > > > > > > > ---------------------------------------------------------- > > > > Peter Giannopoulos, Software Developer > > Gemplus Software, Advanced Projects > > Group > > Phone: +15147322434 > > Fax: +15147322401 > > Gemplus Card International, > > Http://www.gemplus.fr > > > ----------------------------------------------------------- > > > > > > > __________________________________________________ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, email: > [EMAIL PROTECTED] > > > BEGIN:VCARD > VERSION:2.1 > N:Giannopoulos;Peter > FN:Peter Giannopoulos > ORG:Gemplus Canada inc.;CTO Group > TITLE:Software Developer > NOTE;ENCODING=QUOTED-PRINTABLE:=0D=0A--- Codito, > ergo sum - "I code, therefore I am" --- > TEL;WORK;VOICE:514-732-2434 > TEL;HOME;VOICE:N/A > TEL;CELL;VOICE:N/A > TEL;PAGER;VOICE:N/A > TEL;WORK;FAX:514-732-2301 > ADR;POSTAL:;;3 Place du Commerce;Ile des > soeurs;Quebec;H3E 1H7;Canada > LABEL;POSTAL;ENCODING=QUOTED-PRINTABLE:3 Place du > Commerce=0D=0AIle des soeurs, Quebec H3E > 1H7=0D=0ACanada > URL:http://www.gemplus.com > EMAIL;PREF;INTERNET:[EMAIL PROTECTED] > REV:20000926T190330Z > END:VCARD > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
BEGIN:VCARD VERSION:2.1 N:Giannopoulos;Peter FN:Peter Giannopoulos ORG:Gemplus Canada inc.;CTO Group TITLE:Software Developer NOTE;ENCODING=QUOTED-PRINTABLE:=0D=0A--- Codito, ergo sum - "I code, therefore I am" --- TEL;WORK;VOICE:514-732-2434 TEL;HOME;VOICE:N/A TEL;CELL;VOICE:N/A TEL;PAGER;VOICE:N/A TEL;WORK;FAX:514-732-2301 ADR;POSTAL:;;3 Place du Commerce;Ile des soeurs;Quebec;H3E 1H7;Canada LABEL;POSTAL;ENCODING=QUOTED-PRINTABLE:3 Place du Commerce=0D=0AIle des soeurs, Quebec H3E 1H7=0D=0ACanada URL:http://www.gemplus.com EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20000926T190330Z END:VCARD
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
