]
Stefano Maestri resolved JBJCA-1346.
------------------------------------
Release Notes Text: Included in IJ 1.4.4
Resolution: Done
IronJacamar isn't compatible with picketbox version used in
WildFly
-------------------------------------------------------------------
Key: JBJCA-1346
URL:
https://issues.jboss.org/browse/JBJCA-1346
Project: IronJacamar
Issue Type: Bug
Components: Build
Affects Versions: WildFly/IronJacamar 1.4.2.Final
Reporter: Martin Simka
Assignee: Stefano Maestri
Ironjacamar is compiled with Picketbox 4.0.19.Final and WildFly comes with 5.0.1.Final.
These versions are not binary compatible, I'm getting
{noformat}
Caused by: java.lang.NoSuchMethodError:
org.jboss.security.identity.RoleGroup.getRoles()Ljava/util/List;
at
org.jboss.jca.core.security.picketbox.PicketBoxSecurityContext.getRoles(PicketBoxSecurityContext.java:76)
at
org.jboss.as.test.integration.jca.security.WildFlyActivationRaWithSecurityDomainWorkManagerSecurityDomainTestCase$MyWork.run(WildFlyActivationRaWithSecurityDomainWorkManagerSecurityDomainTestCase.java:304)
at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:223)
... 6 more
{noformat}
signature changed in this case from {{List<Role> getRoles()}} to
{{Collection<Role> getRoles()}}
I tried to compile IJ with 5.0.1 and my test then works.