[ 
https://issues.apache.org/jira/browse/DELTASPIKE-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13429382#comment-13429382
 ] 

Rudy De Busscher commented on DELTASPIKE-261:
---------------------------------------------

There are 2 problems with the tests on wls12c

1. ClassLoader issue:
within the method 
org.apache.deltaspike.security.impl.extension.SecurityExtension#getMetaDataStorage,
 the call ClassUtils.getClassLoader(null); doesn't results in the same 
classLoader depending on the 'part' of the test.  During deployment, you get 
another one the during testing.  This results in an empty 
SecurityMetaDataStorage.

2. BeanManager issue
The beanManager supplied as parameter to the call 
org.apache.deltaspike.security.impl.extension.SecurityExtension#processAnnotatedType
 doesn't have the registered beans. Since that beanManager is passed to the 
Authorizer, the managed bean could not be retrieved in the method 
org.apache.deltaspike.security.impl.extension.Authorizer#lazyInitTargetBean.  A 
solution is looking in the beanManager retrieved from the JNDI.


                
> Integration tests of security impl module fails on Weblogic 12c
> ---------------------------------------------------------------
>
>                 Key: DELTASPIKE-261
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-261
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Security-Module, Tests
>    Affects Versions: 0.2-incubating
>            Reporter: Rudy De Busscher
>            Assignee: Rudy De Busscher
>            Priority: Minor
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to