Class PersonalizationWebServiceSecurityTest

    • Constructor Detail

      • PersonalizationWebServiceSecurityTest

        public PersonalizationWebServiceSecurityTest()
    • Method Detail

      • getAllSegmentsPermissionsCheck

        public void getAllSegmentsPermissionsCheck()
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • getAllSegmentsPermissionsCheckWithNotExistingScope

        public void getAllSegmentsPermissionsCheckWithNotExistingScope()
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getAllSegmentsPermissionsCheckWithPersonalizationWebservicesScope

        public void getAllSegmentsPermissionsCheckWithPersonalizationWebservicesScope()
                                                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • getAllSegmentsPermissionsCheckWithBasicScope

        public void getAllSegmentsPermissionsCheckWithBasicScope()
                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • getAllSegments

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

        public void getSegmentsByCodePermissionsCheck()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • getSegmentsByCode

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

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

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

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

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

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

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

        public void getCustomerSegmentationPermissionsCheck()
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getCustomerSegmentation

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

        public void getCustmizationByIdPermissionsCheck()
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getCustomization

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

        public void getAllCustmizationPermissionsCheck()
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getAllCustmizationPermissionsCheckWithNotExistingScope

        public void getAllCustmizationPermissionsCheckWithNotExistingScope()
                                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getAllCustmizationPermissionsCheckWithPersonalizationWebservicesScope

        public void getAllCustmizationPermissionsCheckWithPersonalizationWebservicesScope()
                                                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getAllCustmizationPermissionsCheckWithBasicScope

        public void getAllCustmizationPermissionsCheckWithBasicScope()
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • getAllCustomizations

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

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

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

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

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

        public void getVariationsPermissionsCheck()
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getVariations

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

        public void updateVariationPermissionsCheck()
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • updateVariation

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

        public void getTriggersPermissionsCheck()
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getTriggers

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

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

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

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

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

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

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

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

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

        protected SegmentTriggerData createSegmentTriggerData​(java.lang.String triggerCode,
                                                              java.lang.String segmentCode)