Symantec Access Management

Expand all | Collapse all

AssertionGeneratorPlugin - SMAPI.jar

Jump to Best Answer
  • 1.  AssertionGeneratorPlugin - SMAPI.jar

    Posted 11-02-2017 01:24 AM

    Hello All,

     

    I am creating an Assertion Plugin and trying to import the below :

     

    import com.netegrity.policyserver.smapi.APIContext;
    import com.netegrity.policyserver.smapi.AssertionGeneratorPlugin;
    import com.netegrity.policyserver.smapi.UserContext;

     

    But, when i download SDK from CA Support (smsdk-12.52-sp01-cr01-win32) as my environment is 

    12.52 SP1 CR01

    FullVersion=12.52.101.640 .

     

    But the above SDK doesn't have the SMAPI and it the relevant smagentapi.jar doesn't have AssertionGeneratorPlugin , am i downloading the correct SDK? If not, can you please guide me to the correct SDK so that i can download the same?

     

    I hope my understanding is correct that i have to import the smapi.jar as a library into my project to resolve the above 3 imports.

     

    Thank you

    Ankur Taneja



  • 2.  Re: AssertionGeneratorPlugin - SMAPI.jar
    Best Answer

    Posted 11-02-2017 10:43 PM

    Hi Ankur,

     

    The correct jar for  com.netegrity.policyserver.smapi package is SmJavaApi.jar and NOT smagentapi.jar.

    See below :

     

     

    Regards,

    Ujwol



  • 3.  Re: AssertionGeneratorPlugin - SMAPI.jar

    Posted 11-13-2017 04:17 AM

    Thanks Ujwal! That helped!