Hi all,

- I'm embedding jbossall-client in my bundle. 
- It contains org.jboss.security.ClientLoginModule
- By reflection, javax.security.auth.login.LoginContext (jdk), tries to
instantiate it.
- I get the following error : javax.security.auth.login.LoginException:
classe LoginModule introuvable : org.jboss.security.ClientLoginModule

Can JDK classes use reflection to instantiate classe a bundle provides?
If it can, is there anything special to do? 

here's my pom maven-bundle-plugin conf:

            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <version>1.4.0</version>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Bundle-Name>Ted Entity Plugin</Bundle-Name>
                        <Bundle-Version>${pom.version}</Bundle-Version>
                        <Export-Package>
                            !com.thalesgroup.ted.plugins.entity.impl,
                            com.thalesgroup.ted.plugins.entity.api.*,
                            com.thalesgroup.sc2.jddf.*,
                            org.jboss.security,
                            org.jboss.*
                        </Export-Package>
                       
<Private-Package>com.thalesgroup.ted.plugins.entity.*</Private-Package>
                       
<Import-Package>*;resolution:=optional</Import-Package>
                       
<Embed-Dependency>*;scope=compile|runtime;inline=false</Embed-Dependency>
                        <Embed-Transitive>true</Embed-Transitive>
                       
<Bundle-Activator>com.thalesgroup.ted.plugins.entity.Activator</Bundle-Activator>
                    </instructions>
                </configuration>
            </plugin>



-----
Tell me something you don't know!
-- 
View this message in context: 
http://www.nabble.com/Reflection-issues-tp15879678p15879678.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to