2 Replies Latest reply on Dec 15, 2005 1:28 PM by bill.burke

    Embedded JBoss security service

    wolfc

      Hello ppl,

      I made a micro kernel security service bean. See http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedJaasSecurityManagerService.

      I hope this helps.

      Carlo

      PS. I love unit testing with the embedded stack.

        • 1. Re: Embedded JBoss security service
          wolfc

           

           synchronized(cache) {
           if(manager != null)
           return manager;
          
           manager = new JaasSecurityManager(name, new SecurityAssociationHandler());
           cache.put(name, manager);
           }
          

          Should be:
           synchronized(cache) {
           manager = cache.get(name);
           if(manager != null)
           return manager;
          
           manager = new JaasSecurityManager(name, new SecurityAssociationHandler());
           cache.put(name, manager);
           }
          


          • 2. Re: Embedded JBoss security service
            bill.burke

            Contact me directly: bill@jboss.org. I'll review your stuff when I get a chance (hopefully before Christmas). If its good, I'll grant you CVS access so you can get this stuff in.