Skip to content

Commit

Permalink
ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
snesm authored and thetaurean committed Sep 17, 2024
1 parent cfbf459 commit e1207fb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import org.slf4j.LoggerFactory
import org.springframework.http.HttpStatus
import org.springframework.http.ResponseEntity
import org.springframework.security.authorization.AuthorizationDeniedException
import org.springframework.security.oauth2.server.resource.authentication.BearerTokenAuthentication
import org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken
import org.springframework.web.bind.MissingRequestHeaderException
import org.springframework.web.bind.annotation.ControllerAdvice
Expand Down Expand Up @@ -179,7 +178,7 @@ class SubmissionController(
@ExceptionHandler(AuthorizationDeniedException::class)
fun handleAuthorizationException(
e: AuthorizationDeniedException,
auth: JwtAuthenticationToken
auth: JwtAuthenticationToken,
): ResponseEntity<Unit> {
logger.warn("Authorization denied for token attributes: ${auth.tokenAttributes}", e)

Expand Down

0 comments on commit e1207fb

Please sign in to comment.