2 Replies Latest reply on Dec 9, 2006 6:30 PM by cyberax

    Redeployment of JaasSecurityContext fails

    cyberax

      Redeployment of JaasSecurityContext on JBoss4.0.5GA fails because of line JaasSecurityManagerService.java:435:

       // Register the JAAS CallbackHandler JACC PolicyContextHandlers
       CallbackHandlerPolicyContextHandler chandler = new CallbackHandlerPolicyContextHandler();
       PolicyContext.registerHandler(CallbackHandlerPolicyContextHandler.CALLBACK_HANDLER_KEY,
       chandler, false);
      


      The last 'false' parameter means that Java will throw exception during redeployment, because callback handler must be replaced (and this 'false'
      parameter forbids replacing).

      What is the reason for this setting value?