Exemplo n.º 1
0
 /**
  * Determine if the SAML Response is valid using the certificate.
  *
  * @throws Exception
  * @return bool Validate the document
  */
 public function isValid()
 {
     $xmlSec = new Maestrano_Saml_XmlSec($this->_settings, $this);
     return $xmlSec->isValid();
 }
Exemplo n.º 2
0
 public function testValidateAssertionValid()
 {
     $response = SamlTestHelper::buildSamlResponse('valid_response.xml.base64', $this->settings);
     $xmlSec = new Maestrano_Saml_XmlSec($this->settings, $response);
     $this->assertTrue($xmlSec->isValid());
 }