We have a requirement of creating policies and groups programmatically and I was able to create policies and groups successfully using clientsdk.jar
and amserver.jar
.
I tried creating policy without using amserver.jar
but got “java.lang.NoClassDefFoundError: com/sun/identity/entitlement/EntitlementException”
exception. On the other hand I am able to create groups without using amserver.jar
.
Can you please let me know if amserver.jar
is required to create policy?