[jboss-user] [Security & JAAS/JBoss] - Redeployment of JaasSecurityContext fails
Cyberax
do-not-reply at jboss.com
Thu Nov 30 02:04:07 EST 2006
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?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989934#3989934
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989934
More information about the jboss-user
mailing list