Commit e9d4fa9b authored by Ghitha Dinan's avatar Ghitha Dinan

interceptor fixing

parent a16dfd49
......@@ -83,7 +83,7 @@ class TokenInterceptor : Filter {
JWTVerificationException::class,
IllegalArgumentException::class
)
private fun getAuthentication(request: HttpServletRequest): UsernamePasswordAuthenticationToken? {
private fun getAuthentication(request: HttpServletRequest): UsernamePasswordAuthenticationToken {
try {
val token = request.getHeader(HEADER_STRING)
val reqAuthDetail: ReturnData =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment