Buckets:
AnonymousSpottedToad/candidate_bucket / preliminary /mappings /java /authentication_pwd /hprxkbrddd_grind.json
| { | |
| "role_mappings": [ | |
| { | |
| "role": "Subject", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No in-repo client sends credentials to /grind/keycloak/token; the CORS config (gateway/.../config/SecurityConfig.java) allows an external frontend at localhost:5173 that is not part of this repo. Only tests exist besides the backend modules." | |
| }, | |
| { | |
| "role": "Enforcer", | |
| "status": "present", | |
| "symbol": "getToken", | |
| "file": "gateway/src/main/java/com/grind/gateway/controller/KeycloakController.java", | |
| "lines": "37", | |
| "notes": "Login endpoint POST /grind/keycloak/token (permitAll in SecurityConfig.java:53) receives username/password and calls KeycloakService.getToken (KeycloakController.java:38); it refuses when credentials are blank (KeycloakException, KeycloakService.java:172) or when Keycloak rejects them (WebClient retrieve() error, KeycloakService.java:187)." | |
| }, | |
| { | |
| "role": "Verification manager", | |
| "status": "external", | |
| "symbol": "post", | |
| "file": "gateway/src/main/java/com/grind/gateway/service/keycloak/KeycloakService.java", | |
| "lines": "183", | |
| "notes": "Reached from Enforcer getToken (KeycloakController.java:38) via in-repo wrapper KeycloakService.getToken (KeycloakService.java:168), which only builds the ROPC form (grant_type=password) and POSTs it to the external Keycloak /token endpoint; the actual password verification is done by the Keycloak server." | |
| }, | |
| { | |
| "role": "Password store", | |
| "status": "external", | |
| "symbol": "post", | |
| "file": "gateway/src/main/java/com/grind/gateway/service/keycloak/KeycloakService.java", | |
| "lines": "183", | |
| "notes": "Credentials are stored in Keycloak's user/credential store (users created via admin /users POST in KeycloakService.register); the repo has no own user table. Reached only through the Keycloak /token call at KeycloakService.java:183." | |
| }, | |
| { | |
| "role": "Hasher", | |
| "status": "external", | |
| "symbol": "post", | |
| "file": "gateway/src/main/java/com/grind/gateway/service/keycloak/KeycloakService.java", | |
| "lines": "183", | |
| "notes": "Password hashing is performed inside the Keycloak server (its configured password hashing provider) when the /token request at KeycloakService.java:183 is processed; no hashing code exists in the repo. Same external call covers Hasher and Comparator." | |
| }, | |
| { | |
| "role": "Pepper store", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No pepper anywhere in the repo (searched gateway/core/template/statistics); Keycloak's default password storage uses only a per-credential salt, which is not a pepper." | |
| }, | |
| { | |
| "role": "Encrypter", | |
| "status": "missing", | |
| "symbol": "", | |
| "file": "", | |
| "lines": "", | |
| "notes": "No encryption of password hashes with a pepper/key on the login path (KeycloakService.getToken, KeycloakService.java:168) or anywhere in the repo." | |
| }, | |
| { | |
| "role": "Comparator", | |
| "status": "external", | |
| "symbol": "post", | |
| "file": "gateway/src/main/java/com/grind/gateway/service/keycloak/KeycloakService.java", | |
| "lines": "183", | |
| "notes": "The comparison of the submitted password's hash against the stored hash happens inside the Keycloak server during the ROPC /token request at KeycloakService.java:183; same external call as the Hasher. Failure surfaces as a WebClient error from retrieve() (line 187)." | |
| }, | |
| { | |
| "role": "System", | |
| "status": "external", | |
| "symbol": "bodyToMono", | |
| "file": "gateway/src/main/java/com/grind/gateway/service/keycloak/KeycloakService.java", | |
| "lines": "188", | |
| "notes": "On successful verification Keycloak issues the access token, which the gateway reads into TokenResponseDTO (KeycloakService.java:188) and returns from the Enforcer getToken (KeycloakController.java:38) to the caller." | |
| } | |
| ] | |
| } | |
Xet Storage Details
- Size:
- 4 kB
- Xet hash:
- 40fa0d4296e655fdfb3614ee12d0b7c65fd4ec2c1c4b3c8a93a5478336af05ac
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.