Buckets:
AnonymousSpottedToad/candidate_bucket / preliminary /interactions /java /verifiable_token_based_authentication /aaronfernandes21_secureflux-security-starter.json
| { | |
| "interaction_sequence": { | |
| "available": true, | |
| "language": "java", | |
| "repo": "aaronfernandes21_secureflux-security-starter", | |
| "reason": "", | |
| "entryRole": "Enforcer", | |
| "entryRule": "behaviour", | |
| "interactions": [ | |
| { | |
| "order": 1, | |
| "interaction": "Enforcer → Key manager", | |
| "from": "Enforcer", | |
| "to": "Key manager", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 45, | |
| "via": [ | |
| "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtFilter.doFilterInternal:void(jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse,jakarta.servlet.FilterChain)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtFilter.java", | |
| "line": 48, | |
| "code": "this.jwtUtil.extractUsername(token)", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 70, | |
| "code": "extractAllClaims(token)", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 45, | |
| "code": "this.getSigningKey()", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.getSigningKey:java.security.Key()", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "" | |
| }, | |
| { | |
| "order": 2, | |
| "interaction": "Enforcer → Cryptographer", | |
| "from": "Enforcer", | |
| "to": "Cryptographer", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 44, | |
| "via": [ | |
| "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtFilter.doFilterInternal:void(jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse,jakarta.servlet.FilterChain)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtFilter.java", | |
| "line": 48, | |
| "code": "this.jwtUtil.extractUsername(token)", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 70, | |
| "code": "extractAllClaims(token)", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 44, | |
| "code": "parser().setSigningKey(getSigningKey()).build().parseClaimsJws(token)", | |
| "callee": "<unresolvedNamespace>.parseClaimsJws:<unresolvedSignature>(1)", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "" | |
| }, | |
| { | |
| "order": 3, | |
| "interaction": "Enforcer → Verifier", | |
| "from": "Enforcer", | |
| "to": "Verifier", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtFilter.java", | |
| "line": 51, | |
| "via": [], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtFilter.doFilterInternal:void(jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse,jakarta.servlet.FilterChain)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtFilter.java", | |
| "line": 51, | |
| "code": "this.jwtUtil.validateToken(token, username)", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.validateToken:boolean(java.lang.String,java.lang.String)", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "" | |
| }, | |
| { | |
| "order": 4, | |
| "interaction": "Verifier → Key manager", | |
| "from": "Verifier", | |
| "to": "Key manager", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 45, | |
| "via": [ | |
| "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtUtil.validateToken:boolean(java.lang.String,java.lang.String)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 54, | |
| "code": "this.extractUsername(token)", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 70, | |
| "code": "extractAllClaims(token)", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 45, | |
| "code": "this.getSigningKey()", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.getSigningKey:java.security.Key()", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "Enforcer → Verifier" | |
| }, | |
| { | |
| "order": 5, | |
| "interaction": "Verifier → Cryptographer", | |
| "from": "Verifier", | |
| "to": "Cryptographer", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 44, | |
| "via": [ | |
| "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)" | |
| ], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtUtil.validateToken:boolean(java.lang.String,java.lang.String)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 54, | |
| "code": "this.extractUsername(token)", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtUtil.extractUsername:java.lang.String(java.lang.String)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 70, | |
| "code": "extractAllClaims(token)", | |
| "callee": "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "com.secureflux.security.jwt.JwtUtil.extractAllClaims:io.jsonwebtoken.Claims(java.lang.String)", | |
| "file": "src/main/java/com/secureflux/security/jwt/JwtUtil.java", | |
| "line": 44, | |
| "code": "parser().setSigningKey(getSigningKey()).build().parseClaimsJws(token)", | |
| "callee": "<unresolvedNamespace>.parseClaimsJws:<unresolvedSignature>(1)", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "Enforcer → Verifier" | |
| } | |
| ], | |
| "anchoredRoles": [ | |
| { | |
| "role": "Cryptographer", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Enforcer", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Key manager", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Verifier", | |
| "kind": "METHOD" | |
| } | |
| ], | |
| "skippedRoles": [ | |
| "Subject", | |
| "System" | |
| ] | |
| } | |
| } | |
Xet Storage Details
- Size:
- 9.19 kB
- Xet hash:
- 9af74dd08be51c6a9ca3d8f9efd74a693f96a2412400e5b8e100d5c9cfc4000c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.