[jboss-jira] [JBoss JIRA] (WFLY-13141) JASPIC module's initialize() is called multiple times
Hisanobu Okuda (Jira)
issues at jboss.org
Thu Feb 20 03:44:00 EST 2020
[ https://issues.redhat.com/browse/WFLY-13141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hisanobu Okuda updated WFLY-13141:
----------------------------------
Steps to Reproduce:
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
{code}
$JBOSS_HOME/bin/standalone.sh
{code}
3. apply config
{code}
$JBOSS_HOME/bin/jboss-cli.sh -c --file=configure.cli
{code}
4. deploy the reproducer
{code}
cp reproducer.war $JBOSS_HOME/standalone/deployments/
{code}
5. access the reproducer
{code}
curl http://localhost:8080/reproducer/
{code}
Then you will see the following message:
{code}
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 at 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 at 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 at 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 at 70eee4ee
{code}
Due to this and the other issue SECUIRTY-1006, initialize() is called 4 times in total.
was:
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
{code}
$JBOSS_HOME/bin/standalone.sh
{code}
3. apply config
{code}
$JBOSS_HOME/bin/jboss-cli.sh -c --file=configure.cli
{code}
4. deploy the reproducer
{code}
cp reproducer.war $JBOSS_HOME/standalone/deployments/
{code}
5. access the reproducer
{code}
curl http://localhost:8080/reproducer/
{code}
Then you will see the following message:
{code}
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 at 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 at 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 at 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 at 70eee4ee
{code}
Due to this and the other issue SECUIRTY-YYYY, initialize() is called 4 times in total.
> JASPIC module's initialize() is called multiple times
> -----------------------------------------------------
>
> Key: WFLY-13141
> URL: https://issues.redhat.com/browse/WFLY-13141
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 20.0.0.Beta1
> Reporter: Hisanobu Okuda
> Priority: Major
> Attachments: reproducer.tar.gz
>
>
> JASPIC module's initialize() is called multiple times.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list