In jboss 5.1, one could define a custom realm in the server.xml file and extend the jbosswebrealm. Is there a way to override this again in AS7 and be able to reuse code that was previously working on jboss 5.1 now that the server.xml is gone?