1 Reply Latest reply on Oct 3, 2002 4:48 PM by Mirza Mohsin Beg

    Custom SecurityProxyFactoryClassName problem

    Mirza Mohsin Beg Newbie

      Hi,

      I used to know how to make this work in Jboss2.4. With Jboss3.0.2 I am a little lost. Is the following correct to add the following in the deploy directory instead of conf/jboss-service.xml. Any pointers, help would be great.

      I have $JBOSS_HOME/server/default/mydir
      and $JBOSS_HOME/server/default/mydir/security.jar

      $JBOSS_HOME/server/deploy/security-service.xml

      <classpath codebase="mydir" archives="security.jar"/>
      <!-- JAAS security manager and realm mapping -->


      org.jboss.security.plugins.JaasSecurityManager


      com.security.CustomSecurityProxyFactory



        • 1. Re: Custom SecurityProxyFactoryClassName problem
          Mirza Mohsin Beg Newbie

          Now if I do the above mentioned I get the following :-

          12:58:24,578 INFO [JMSContainerInvoker] Destroyed
          12:58:24,580 INFO [DLQHandler] Creating
          12:58:24,581 ERROR [DLQHandler] Initialization failed
          javax.jms.IllegalStateException: SecurityManager only works with a SubjectSecurityManager
          at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:185)
          at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:40)
          at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:575)
          at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:288)
          at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:302)
          at org.jboss.mq.Connection.authenticate(Connection.java:759)
          at org.jboss.mq.Connection.(Connection.java:233)
          .......