Class PersonalizationWebServiceSecurityTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class PersonalizationWebServiceSecurityTest extends BaseWebServiceTest
  • Constructor Details

    • PersonalizationWebServiceSecurityTest

      public PersonalizationWebServiceSecurityTest()
  • Method Details

    • getAllSegmentsPermissionsCheck

      public void getAllSegmentsPermissionsCheck() throws IOException
      Throws:
      IOException
    • getAllSegmentsPermissionsCheckWithNotExistingScope

      public void getAllSegmentsPermissionsCheckWithNotExistingScope() throws IOException
      Throws:
      IOException
    • getAllSegmentsPermissionsCheckWithPersonalizationWebservicesScope

      public void getAllSegmentsPermissionsCheckWithPersonalizationWebservicesScope() throws IOException
      Throws:
      IOException
    • getAllSegmentsPermissionsCheckWithBasicScope

      public void getAllSegmentsPermissionsCheckWithBasicScope() throws IOException
      Throws:
      IOException
    • getAllSegments

      protected javax.ws.rs.core.Response getAllSegments(String user, String pwd, String... scope)
    • getSegmentsByCodePermissionsCheck

      public void getSegmentsByCodePermissionsCheck() throws IOException
      Throws:
      IOException
    • getSegmentsByCode

      protected javax.ws.rs.core.Response getSegmentsByCode(String user, String pwd)
    • updateSegmentPermissionsCheck

      public void updateSegmentPermissionsCheck() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • updateSegment

      protected javax.ws.rs.core.Response updateSegment(String user, String pwd) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • createSegmentPermissionsCheck

      public void createSegmentPermissionsCheck() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • createSegment

      protected javax.ws.rs.core.Response createSegment(String user, String pwd) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • deleteSegmentPermissionsCheck

      public void deleteSegmentPermissionsCheck() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • deleteSegment

      protected javax.ws.rs.core.Response deleteSegment(String user, String pwd) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • getCustomerSegmentationPermissionsCheck

      public void getCustomerSegmentationPermissionsCheck() throws IOException
      Throws:
      IOException
    • getCustomerSegmentation

      protected javax.ws.rs.core.Response getCustomerSegmentation(String user, String pwd)
    • getCustmizationByIdPermissionsCheck

      public void getCustmizationByIdPermissionsCheck() throws IOException
      Throws:
      IOException
    • getCustomization

      protected javax.ws.rs.core.Response getCustomization(String user, String pwd)
    • getAllCustmizationPermissionsCheck

      public void getAllCustmizationPermissionsCheck() throws IOException
      Throws:
      IOException
    • getAllCustmizationPermissionsCheckWithNotExistingScope

      public void getAllCustmizationPermissionsCheckWithNotExistingScope() throws IOException
      Throws:
      IOException
    • getAllCustmizationPermissionsCheckWithPersonalizationWebservicesScope

      public void getAllCustmizationPermissionsCheckWithPersonalizationWebservicesScope() throws IOException
      Throws:
      IOException
    • getAllCustmizationPermissionsCheckWithBasicScope

      public void getAllCustmizationPermissionsCheckWithBasicScope() throws IOException
      Throws:
      IOException
    • getAllCustomizations

      protected javax.ws.rs.core.Response getAllCustomizations(String user, String pwd, String... scope)
    • createCustomizationPermissionsCheck

      public void createCustomizationPermissionsCheck() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • createCustomization

      protected javax.ws.rs.core.Response createCustomization(String user, String pwd) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • updateCustomizationStatusPermissionsCheck

      public void updateCustomizationStatusPermissionsCheck() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • updateCustomization

      protected javax.ws.rs.core.Response updateCustomization(String user, String pwd) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • getVariationsPermissionsCheck

      public void getVariationsPermissionsCheck() throws IOException
      Throws:
      IOException
    • getVariations

      protected javax.ws.rs.core.Response getVariations(String user, String pwd)
    • updateVariationPermissionsCheck

      public void updateVariationPermissionsCheck() throws IOException
      Throws:
      IOException
    • updateVariation

      protected javax.ws.rs.core.Response updateVariation(String user, String pwd)
    • getTriggersPermissionsCheck

      public void getTriggersPermissionsCheck() throws IOException
      Throws:
      IOException
    • getTriggers

      protected javax.ws.rs.core.Response getTriggers(String user, String pwd)
    • getSegmentTriggerPermissionsCheck

      public void getSegmentTriggerPermissionsCheck() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • getSegmentTrigger

      protected javax.ws.rs.core.Response getSegmentTrigger(String user, String pwd)
    • createDefaultTriggerPermissionsCheck

      public void createDefaultTriggerPermissionsCheck() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • createTrigger

      protected javax.ws.rs.core.Response createTrigger(String user, String pwd) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • updateTriggerPermissionsCheck

      public void updateTriggerPermissionsCheck() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • updateTrigger

      protected javax.ws.rs.core.Response updateTrigger(String user, String pwd) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • createCustomizationPackagePermissionsCheck

      public void createCustomizationPackagePermissionsCheck() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • crearteCustomizationPackage

      protected javax.ws.rs.core.Response crearteCustomizationPackage(String user, String pwd) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • createSegmentTriggerData

      protected SegmentTriggerData createSegmentTriggerData(String triggerCode, String segmentCode)