If you use a custom LoginModule with a SimpleSecurityRealm, there are two ways to provide options to the LoginModule. One is to set the options property on SimpleSecurityRealm. The other is to set the options property on the ConfiguraitonEntryRealmLocal when you deploy a JAAS configuration for the realm.
It doesn't seem like we need both ways to specify options to the login module. I think we could remove the options property from SimpleSecurityRealm, and just use the options on the ConfigurationEntryRealmLocal.