crash.software
Projects
Pull Requests
Issues
Builds
wrongsecrets
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
wrongsecrets
Commits
f3965017
🤬
Sign In
feat(
#680
): added more missing javadoc
Jeroen Willemsen
committed
1 year ago
f3965017
1 parent
3790c222
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
Total 5 files
Show one by one
■ ■ ■
■ ■ ■
src/main/java/org/owasp/wrongsecrets/ActuatorSecurityConfiguration.java
skipped 6 lines
7
7
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
8
8
import org.springframework.security.web.SecurityFilterChain;
9
9
10
+
/**
11
+
* Configuration used to disable CSRF on the actuator health endpoint otherwise it does not work for health-checks.
12
+
*/
10
13
@Configuration
11
14
public class ActuatorSecurityConfiguration {
12
15
skipped 11 lines
All occurrences
■ ■ ■
■ ■ ■
src/main/java/org/owasp/wrongsecrets/FailtoStartupException.java
skipped 1 lines
2
2
3
3
import org.springframework.boot.ExitCodeGenerator;
4
4
5
+
/**
6
+
* Used to give a clear non-0 exit code when the Application cannot start.
7
+
*/
5
8
public class FailtoStartupException extends RuntimeException implements ExitCodeGenerator {
6
9
7
10
public FailtoStartupException(String message) {
skipped 9 lines
All occurrences
■ ■ ■
■ ■ ■
src/main/java/org/owasp/wrongsecrets/HerokuWebSecurityConfig.java
skipped 7 lines
8
8
import org.springframework.security.web.PortMapper;
9
9
import org.springframework.security.web.SecurityFilterChain;
10
10
11
+
/**
12
+
* Used to implement to https redirect for our Heroku hosted workload.
13
+
*/
11
14
@Configuration
12
15
public class HerokuWebSecurityConfig {
13
16
skipped 13 lines
All occurrences
■ ■ ■
■ ■ ■
src/main/java/org/owasp/wrongsecrets/IndexController.java
skipped 4 lines
5
5
import org.springframework.stereotype.Controller;
6
6
import org.springframework.web.bind.annotation.GetMapping;
7
7
8
+
/**
9
+
* Controller used to return the dynamic data for the welcome screen.
10
+
*/
8
11
@Controller
9
12
@Slf4j
10
13
public class IndexController {
skipped 8 lines
All occurrences
■ ■ ■
■ ■ ■
src/main/java/org/owasp/wrongsecrets/challenges/ChallengesController.java
skipped 25 lines
26
26
import java.util.List;
27
27
import java.util.stream.Collectors;
28
28
29
+
/**
30
+
* Controller used to host the Challenges UI
31
+
*/
29
32
@Controller
30
33
public class ChallengesController {
31
34
skipped 216 lines
All occurrences
Please wait...
Page is in error, reload to recover