• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

torresj / infosas-api / 87

12 Jan 2026 02:35PM UTC coverage: 76.32% (-15.3%) from 91.648%
87

push

circleci

torresj
Auth API added

70 of 170 new or added lines in 20 files covered. (41.18%)

477 of 625 relevant lines covered (76.32%)

0.76 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

33.33
/src/main/java/com/torresj/infosas/security/AuthEntryPointJwt.java
1
package com.torresj.infosas.security;
2

3
import jakarta.servlet.http.HttpServletRequest;
4
import jakarta.servlet.http.HttpServletResponse;
5
import org.springframework.security.core.AuthenticationException;
6
import org.springframework.security.web.AuthenticationEntryPoint;
7
import org.springframework.stereotype.Component;
8

9
import java.io.IOException;
10

11
@Component
12
public class AuthEntryPointJwt implements AuthenticationEntryPoint {
1✔
13
    @Override
14
    public void commence(
15
            HttpServletRequest request,
16
            HttpServletResponse response,
17
            AuthenticationException authException
18
    ) throws IOException {
NEW
19
        response.sendError(HttpServletResponse.SC_UNAUTHORIZED, "Error: Unauthorized");
×
NEW
20
    }
×
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc