[jboss-user] [Security & JAAS/JBoss] - Re: CallbackHandlerClassName not being used !

anil.saldhana@jboss.com do-not-reply at jboss.com
Tue Apr 7 15:57:04 EDT 2009


deploy/security/security-jboss-beans.xml


  | <!-- JNDI Based Security Management -->
  | <bean name="JNDIBasedSecurityManagement"
  |        class="org.jboss.security.integration.JNDIBasedSecurityManagement"/>
  | 

You will have to create an instance of your call back handler and then inject into this bean.


  | <bean name="myhandler" class="com.george....." />
  | 
  | <!-- JNDI Based Security Management -->
  | <bean name="JNDIBasedSecurityManagement"
  |       class="org.jboss.security.integration.JNDIBasedSecurityManagement">
  |  <property name="callBackHandler"><inject bean="myhandler"/> 
  | </bean>
  | 


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224159#4224159

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224159



More information about the jboss-user mailing list