Class CSRFAttackTest


  • public class CSRFAttackTest
    extends BaseDataSourceTestDal
    Tries to create a new Product object using a pre-made POST request. If succeeded, that means that no CSRF control has been implemented.
    Author:
    jarmendariz
    • Constructor Detail

      • CSRFAttackTest

        public CSRFAttackTest()
    • Method Detail

      • testRequestAreProtectedAgainstCSRFAttack

        public void testRequestAreProtectedAgainstCSRFAttack()
      • testRequestVerifiesSessionCSRFToken

        public void testRequestVerifiesSessionCSRFToken()
      • removeFakeProduct

        public void removeFakeProduct()