| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | protected function doExecute(AssertionContext $context) |
||
| 31 | { |
||
| 32 | $ownEntityDescriptor = $context->getProfileContext()->getOwnEntityDescriptor(); |
||
| 33 | |||
| 34 | $issuer = new Issuer($ownEntityDescriptor->getEntityID()); |
||
| 35 | $issuer->setFormat(SamlConstants::NAME_ID_FORMAT_ENTITY); |
||
| 36 | |||
| 37 | $context->getAssertion()->setIssuer($issuer); |
||
| 38 | |||
| 39 | $this->logger->debug( |
||
| 40 | sprintf('Assertion Issuer set to "%s"', $ownEntityDescriptor->getEntityID()), |
||
| 41 | LogHelper::getActionContext($context, $this) |
||
| 42 | ); |
||
| 43 | } |
||
| 44 | } |
||
| 45 |