From 5d20da87b1980380ca60ef32cc44b7ad80e13bb9 Mon Sep 17 00:00:00 2001 From: Jessie Liauw A Fong Date: Mon, 28 Oct 2019 14:17:34 +0100 Subject: [PATCH] Open on validator --- .../springjwtauthenticator/validator/Validator.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/erikschouten/springjwtauthenticator/validator/Validator.kt b/src/main/kotlin/com/erikschouten/springjwtauthenticator/validator/Validator.kt index dceff3e..92e6b2a 100644 --- a/src/main/kotlin/com/erikschouten/springjwtauthenticator/validator/Validator.kt +++ b/src/main/kotlin/com/erikschouten/springjwtauthenticator/validator/Validator.kt @@ -4,7 +4,7 @@ import org.springframework.security.core.userdetails.UserDetails import org.springframework.stereotype.Service @Service -class Validator { +open class Validator { @Throws(ValidationException::class) - fun validate(userDetails: UserDetails) {} + open fun validate(userDetails: UserDetails) {} }