Buckets:
AnonymousSpottedToad/candidate_bucket / preliminary_without_sequence /mappings /java /authentication_pwd /chutney-testing_chutney.json
| { | |
| "role_mappings": [ | |
| { | |
| "role": "Subject", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No in-repo client sends credentials to /api/v1/user/login or via HTTP Basic (the web UI is not in this repo; only acceptance-tests, which do not count). The caller is outside the repo." | |
| }, | |
| { | |
| "role": "Enforcer", | |
| "status": "external", | |
| "symbol": "securityFilterChain", | |
| "file": "chutney/server/src/main/java/com/chutneytesting/security/ChutneyWebSecurityConfig.java", | |
| "lines": "57", | |
| "notes": "securityFilterChain in ChutneyWebSecurityConfig builds the Spring Security chain: formLogin with loginProcessingUrl LOGIN_URL (configureBaseHttpSecurity line 84) and httpBasic (line 74), with /api/** requiring authentication (line 70). The intercepting filters (UsernamePasswordAuthenticationFilter / BasicAuthenticationFilter) are framework-provided; failures go to Http401FailureHandler." | |
| }, | |
| { | |
| "role": "Verification manager", | |
| "status": "external", | |
| "symbol": "authenticate", | |
| "file": "chutney/server/src/main/java/com/chutneytesting/security/infra/memory/InMemorySecurityConfiguration.java", | |
| "lines": "51", | |
| "notes": "Reached from the Enforcer's form-login/basic filters via the AuthenticationManager; Spring's DaoAuthenticationProvider.authenticate is activated by auth.userDetailsService(authService).passwordEncoder(pwdEncoder) in UserMemoryConfiguration.configure (lines 51-52). Active only under the 'mem-auth' Spring profile (no other password-hash flow in the server; LDAP bind auth exists only in packaging/local-dev)." | |
| }, | |
| { | |
| "role": "Password store", | |
| "status": "present", | |
| "symbol": "loadUserByUsername", | |
| "file": "chutney/server/src/main/java/com/chutneytesting/security/infra/memory/InMemoryUserDetailsService.java", | |
| "lines": "37", | |
| "notes": "Called by DaoAuthenticationProvider (configured at InMemorySecurityConfiguration.java:51). Looks up the UserDto (with its password hash) in a map built from chutney.security.users configuration properties (InMemoryUsersProperties, bean at InMemorySecurityConfiguration.java:26); caveat: store is config-backed in memory." | |
| }, | |
| { | |
| "role": "Hasher", | |
| "status": "external", | |
| "symbol": "matches", | |
| "file": "chutney/server/src/main/java/com/chutneytesting/security/infra/memory/InMemorySecurityConfiguration.java", | |
| "lines": "52", | |
| "notes": "Spring BCryptPasswordEncoder.matches, invoked internally by DaoAuthenticationProvider after the Verification manager loads the user; the encoder is registered at line 52 and instantiated in the passwordEncoder bean (line 32). One call covers both Hasher and Comparator." | |
| }, | |
| { | |
| "role": "Pepper store", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No pepper value is stored or loaded; looked at InMemorySecurityConfiguration, InMemoryUserDetailsService and security config. The bcrypt salt is not a pepper." | |
| }, | |
| { | |
| "role": "Encrypter", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No encryption of the password hash with a pepper key on the verification path; only BCryptPasswordEncoder hashing (InMemorySecurityConfiguration.java:32)." | |
| }, | |
| { | |
| "role": "Comparator", | |
| "status": "external", | |
| "symbol": "matches", | |
| "file": "chutney/server/src/main/java/com/chutneytesting/security/infra/memory/InMemorySecurityConfiguration.java", | |
| "lines": "52", | |
| "notes": "BCryptPasswordEncoder.matches (Spring Security), called by DaoAuthenticationProvider.additionalAuthenticationChecks, compares the presented password against the stored hash from loadUserByUsername; same call as the Hasher, configured at line 52 (bean at line 32)." | |
| }, | |
| { | |
| "role": "System", | |
| "status": "present", | |
| "symbol": "onAuthenticationSuccess", | |
| "file": "chutney/server/src/main/java/com/chutneytesting/security/infra/handlers/HttpLoginSuccessHandler.java", | |
| "lines": "25", | |
| "notes": "Registered as form-login successHandler in ChutneyWebSecurityConfig.java:86; after successful verification it logs the login and forwards to UserController.loginForwardUser (UserController.java:41) which returns the current user. For HTTP Basic, the protected /api/** controllers play this role." | |
| } | |
| ] | |
| } | |
Xet Storage Details
- Size:
- 4.46 kB
- Xet hash:
- c8d67136931891a9f463493756caad5a1c4e198060fe6dfbd6ac7f4b5bf7ce73
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.