문제

I am using OpenAz as PEP client for my project but I am confused about it's serviceFactory. Can you please share a code snippet how to create a service in openAz.

I believe it's done through-> org.openliberty.openaz.pdp.provider.AzServiceFactory;

but I couldn't see any service creation implementation inside the source file. Please help me out if anyone has any idea about OpenAz.

도움이 되었습니까?

해결책

As David suggests, the best way to get ongoing help is on the OpenAz maillist, which you can browse or join @: http://lists.openliberty.org/mailman/listinfo/openaz

Briefly, there are a few places in the code base that use AzServiceFactory. Probably the best one at present is in the TestUtils module method setupAzService, which is used in most of the testing on the site: http://sourceforge.net/p/openaz/code/HEAD/tree/trunk/openaz/test/src/test/TestUtils.java

In that module, lines 171->203 are a few examples of usage of AzServiceFactory.registerProvider()

Thanks, Rich

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top