0 Replies Latest reply on Dec 14, 2004 6:14 PM by Jerrold Eads

    Using same securityrealm for multiple instances of the same

    Jerrold Eads Newbie

      I have developed a system that may hook up to many instances of the same database schema. I want each instance to use the same entity beans and the same securityrealm. Currently my security realm has an option for dsname which holds the name of the database to which I am connecting. Since I don't want a securityrealm per instance, how would I dynamically set the dsname in the security realm? Since each remote call to the session facade includes the dsname I was thinking I could use a custom security interceptor to grab the argument (dsname) and some how pass it to the login module for that datasource. Is that possible?