0

「ユーザー」と「グループ」以外の命名規則を持つ既存のテーブルを使用して、GlassFishV3 で jdbcRealm を構成しようとしています。テーブルがこのように命名されていない限り、レルムは機能していないように見えます。私の質問は、なぜ制限があるのですか?既存のテーブルの名前を変更する以外に回避策はありますか?

4

1 に答える 1

1

You are going to need to rename your tables or at least join to these. JDBC Realm, Tomcat's as well as GlassFish's require certain schema constraints as you point out.

There is hope, I guess there are enough people that do not like these limitations that there is an alternate implementation here: http://flexiblejdbcrealm.wamblee.org/

I have not tried it, looks like it will do what you want.

于 2010-08-08T02:41:35.453 に答える