diff --git a/src/Surfnet/StepupRa/RaBundle/Security/Authentication/Provider/SamlProvider.php b/src/Surfnet/StepupRa/RaBundle/Security/Authentication/Provider/SamlProvider.php index ae085754..6e9587fc 100644 --- a/src/Surfnet/StepupRa/RaBundle/Security/Authentication/Provider/SamlProvider.php +++ b/src/Surfnet/StepupRa/RaBundle/Security/Authentication/Provider/SamlProvider.php @@ -21,15 +21,14 @@ use Psr\Log\LoggerInterface; use Surfnet\SamlBundle\SAML2\Attribute\AttributeDictionary; use Surfnet\SamlBundle\SAML2\Response\AssertionAdapter; -use Surfnet\StepupRa\RaBundle\Assert; use Surfnet\StepupRa\RaBundle\Exception\InconsistentStateException; use Surfnet\StepupRa\RaBundle\Exception\MissingRequiredAttributeException; -use Surfnet\StepupRa\RaBundle\Exception\UserNotRaException; use Surfnet\StepupRa\RaBundle\Security\Authentication\Token\SamlToken; use Surfnet\StepupRa\RaBundle\Service\IdentityService; use Surfnet\StepupRa\RaBundle\Service\InstitutionConfigurationOptionsService; use Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface; use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; +use Symfony\Component\Security\Core\Exception\AccessDeniedException; use Symfony\Component\Security\Core\Exception\BadCredentialsException; class SamlProvider implements AuthenticationProviderInterface