Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
1.0-M4
-
None
-
None
Description
The GenericSecurityRealm currently provides DeploymentSupport features if the login modules implement DeploymentSupport. It would be nice to support an external DeploymentSupport, set as a property on the GenericSecurityRealm. Currently that ability is there (on DS per login domain for the realm), but it just expects to get a class name, and this doesn't really work as the DeploymentSupport instance has no way of being configured (e.g. to point to a specific DB, LDAP server, etc.). Probably, a DeploymentSupport defined separately from the realm should be instantiated and configured as a GBean, and the realm given the ObjectName instead of the class name. However, I'm not 100% convinced that "GBean creep" is the way to go here. We could also add the same initialize method declared in LoginModule to DeploymentSupport, and then provide a way to send Options to the DeploymentSupport on the realm, but that seems pretty complex too.