Changeset 1439
- Timestamp:
- 03/19/08 17:52:53 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/websites/processors/stubAbstractProcessor.php
r1435 r1439 93 93 94 94 /** 95 * checks whether the current request forces ssl or not 96 * 97 * @return bool 98 */ 99 public function forcesSSL() 100 { 101 return false; 102 } 103 104 /** 95 105 * checks whether the request is ssl or not 96 106 * trunk/src/main/php/net/stubbles/websites/processors/stubProcessor.php
r1435 r1439 45 45 46 46 /** 47 * checks whether the current request forces ssl or not 48 * 49 * @return bool 50 */ 51 public function forcesSSL(); 52 53 /** 47 54 * checks whether the request is ssl or not 48 55 * trunk/src/test/php/net/stubbles/websites/processors/stubAbstractProcessorTestCase.php
r1437 r1439 91 91 92 92 /** 93 * a processor never forces ssl by default 94 * 95 * @test 96 */ 97 public function neverForcesSSLByDefault() 98 { 99 $this->assertFalse($this->abstractProcessor->forcesSSL()); 100 } 101 102 /** 93 103 * ssl evaluates to true if validation returns true, should only be evaluated once 94 104 *
