I want to implement my own JAAS implementation instead of JBOSS's JaasSecurityManagerService. My SecurityManager class is a Singleton and I have my own config files. Where do I need to make changes to disable Jboss's inherent jaas implementation and use my own. Changing filename in jboss_service.xml doesn't work as my class is singleton. Do I need to write a java class that kind of interfaces the two implementations or is there an alternative simpler way.