Just FYI, postgres does support sequences, so that a uique id can be generated via a special sql call to a function, i believe its called nextval(sequence_name). This can even be auto-inserted into a field on the table upon insert, but if the jdbc driver doesnt support the getauto(whatever) function then this will not help.
Ive used postgres for 4 years now and would be glad to help where needed, Im new to this project so would rather work under anothers direction for now, let me know where any of you require assistance.
I just joind the forum and must add that I am THRILLED that someone has finally build a good open java cms... how long Ive looked for one, tried building one, and wished something like this would get off the ground!
yes it is, i'm actually working on this myself right now.
do you have the jboss documentation? chapter 8 talks all about this and there is even example code that you can use right away to get this up an running.
basically, you create an mbean that will load the login-conf.xml file upon deployment and push it onto the configration stack.
Use the recently added 3.2 DynamicLoginConfig service:
<server> <!-- The custom JAAS login configuration service that installs a Configuration capable of dynamically updating the config settings --> <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="jboss.security.tests:service=DynamicLoginConfig"> <attribute name="AuthConfig">META-INF/jaas-test-config.xml</attribute> <depends optional-attribute-name="LoginConfigService"> jboss.security:service=XMLLoginConfig </depends> </mbean> </server>
oh - that's even better :)
when this method is used, does it completely override any entries that may already be in the login-conf.xml file in the "conf" directory, or does it just append it self to the list?
excellent - that's what i wanted to confirm. thx much!