Uploaded image for project: 'PicketBox '
  1. PicketBox
  2. SECURITY-1006

JASPIC module's initialize() is called multiple times

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • PicketBox_5_0_3.Beta1
    • PicketBox
    • None
    • Hide

      1. prepare a clean installation of WildFly Full 20.0.0.Beta1-SNAPSHOT (WildFly Core 11.0.0.Beta9) (this may occur in the older versions as well. e.g. EAP 7.2.5)

      2. start wildfly

      $JBOSS_HOME/bin/standalone.sh
      

      3. apply config

      $JBOSS_HOME/bin/jboss-cli.sh -c --file=configure.cli
      

      4. deploy the reproducer

      cp reproducer.war $JBOSS_HOME/standalone/deployments/
      

      5. access the reproducer

      curl http://localhost:8080/reproducer/
      

      Then you will see the following message:

      16:38:26,904 INFO  [com.redhat.hokuda.AuthProvider] (default task-1) Default constructor
      16:38:26,905 INFO  [com.redhat.hokuda.AuthProvider] (default task-1) initialize with requestPolicy=null responsePolicy=null handler=org.jboss.security.auth.callback.JASPICallbackHandler@70eee4ee
      16:38:26,906 INFO  [com.redhat.hokuda.AuthProvider] (default task-1) initialize with requestPolicy=null responsePolicy=null handler=org.jboss.security.auth.callback.JASPICallbackHandler@70eee4ee
      16:38:27,395 INFO  [com.redhat.hokuda.AuthProvider] (default task-1) Default constructor
      16:38:27,396 INFO  [com.redhat.hokuda.AuthProvider] (default task-1) initialize with requestPolicy=null responsePolicy=null handler=org.jboss.security.auth.callback.JASPICallbackHandler@70eee4ee
      16:38:27,397 INFO  [com.redhat.hokuda.AuthProvider] (default task-1) initialize with requestPolicy=null responsePolicy=null handler=org.jboss.security.auth.callback.JASPICallbackHandler@70eee4ee
      

      Due to this and the other issue WILDFLY-13141, initialize() is called 4 times in total.

      Show
      1. prepare a clean installation of WildFly Full 20.0.0.Beta1-SNAPSHOT (WildFly Core 11.0.0.Beta9) (this may occur in the older versions as well. e.g. EAP 7.2.5) 2. start wildfly $JBOSS_HOME/bin/standalone.sh 3. apply config $JBOSS_HOME/bin/jboss-cli.sh -c --file=configure.cli 4. deploy the reproducer cp reproducer.war $JBOSS_HOME/standalone/deployments/ 5. access the reproducer curl http: //localhost:8080/reproducer/ Then you will see the following message: 16:38:26,904 INFO [com.redhat.hokuda.AuthProvider] ( default task-1) Default constructor 16:38:26,905 INFO [com.redhat.hokuda.AuthProvider] ( default task-1) initialize with requestPolicy= null responsePolicy= null handler=org.jboss.security.auth.callback.JASPICallbackHandler@70eee4ee 16:38:26,906 INFO [com.redhat.hokuda.AuthProvider] ( default task-1) initialize with requestPolicy= null responsePolicy= null handler=org.jboss.security.auth.callback.JASPICallbackHandler@70eee4ee 16:38:27,395 INFO [com.redhat.hokuda.AuthProvider] ( default task-1) Default constructor 16:38:27,396 INFO [com.redhat.hokuda.AuthProvider] ( default task-1) initialize with requestPolicy= null responsePolicy= null handler=org.jboss.security.auth.callback.JASPICallbackHandler@70eee4ee 16:38:27,397 INFO [com.redhat.hokuda.AuthProvider] ( default task-1) initialize with requestPolicy= null responsePolicy= null handler=org.jboss.security.auth.callback.JASPICallbackHandler@70eee4ee Due to this and the other issue WILDFLY-13141, initialize() is called 4 times in total.

      JASPIC module's initialize() is called multiple times.

              rhn-support-rmartinc Ricardo Martin Camarero
              rhn-support-hokuda Hisanobu Okuda
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: