Successful testing of authentication inside an OSGI container