Buckets:
AnonymousSpottedToad/human_verified_bucket / human_annotated /interactions /java /authentication_pwd__scality_osis.json
| { | |
| "interaction_sequence": { | |
| "available": true, | |
| "language": "java", | |
| "repo": "scality_osis", | |
| "reason": "", | |
| "entryRole": "Enforcer", | |
| "entryRule": "behaviour", | |
| "interactions": [ | |
| { | |
| "order": 1, | |
| "interaction": "Enforcer → Verification manager", | |
| "from": "Enforcer", | |
| "to": "Verification manager", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/jwt/login/LoginProcessingFilter.java", | |
| "line": 58, | |
| "via": [ | |
| "[spring] ProviderManager.authenticate" | |
| ], | |
| "mechanism": "dispatch", | |
| "path": [ | |
| { | |
| "caller": "com.scality.osis.security.jwt.login.LoginProcessingFilter.attemptAuthentication:org.springframework.security.core.Authentication(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/jwt/login/LoginProcessingFilter.java", | |
| "line": 58, | |
| "code": "getAuthenticationManager().authenticate(token)", | |
| "callee": "com.scality.osis.security.jwt.login.LoginAuthenticationProvider.authenticate:org.springframework.security.core.Authentication(org.springframework.security.core.Authentication)", | |
| "mechanism": "dispatch", | |
| "route": "[spring] ProviderManager.authenticate" | |
| } | |
| ], | |
| "parent": "" | |
| }, | |
| { | |
| "order": 2, | |
| "interaction": "Verification manager → Password store", | |
| "from": "Verification manager", | |
| "to": "Password store", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/jwt/login/LoginAuthenticationProvider.java", | |
| "line": 44, | |
| "via": [], | |
| "mechanism": "dispatch", | |
| "path": [ | |
| { | |
| "caller": "com.scality.osis.security.jwt.login.LoginAuthenticationProvider.authenticate:org.springframework.security.core.Authentication(org.springframework.security.core.Authentication)", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/jwt/login/LoginAuthenticationProvider.java", | |
| "line": 44, | |
| "code": "this.userService.loadUserByUsername(username)", | |
| "callee": "com.scality.osis.security.platform.PlatformUserDetailsService.loadUserByUsername:org.springframework.security.core.userdetails.UserDetails(java.lang.String)", | |
| "mechanism": "dispatch" | |
| } | |
| ], | |
| "parent": "Enforcer → Verification manager" | |
| }, | |
| { | |
| "order": 3, | |
| "interaction": "Password store → Hasher", | |
| "from": "Password store", | |
| "to": "Hasher", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/platform/PlatformUserDetails.java", | |
| "line": 25, | |
| "via": [ | |
| "com.scality.osis.security.platform.PlatformUserDetails.<init>:void(java.lang.String,java.lang.String)" | |
| ], | |
| "mechanism": "dependency-injection", | |
| "path": [ | |
| { | |
| "caller": "com.scality.osis.security.platform.PlatformUserDetailsService.loadUserByUsername:org.springframework.security.core.userdetails.UserDetails(java.lang.String)", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/platform/PlatformUserDetailsService.java", | |
| "line": 27, | |
| "code": "new PlatformUserDetails(appEnv.getPlatformAccessKey(), appEnv.getPlatformSecretKey())", | |
| "callee": "com.scality.osis.security.platform.PlatformUserDetails.<init>:void(java.lang.String,java.lang.String)", | |
| "mechanism": "call" | |
| }, | |
| { | |
| "caller": "com.scality.osis.security.platform.PlatformUserDetails.<init>:void(java.lang.String,java.lang.String)", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/platform/PlatformUserDetails.java", | |
| "line": 25, | |
| "code": "new BCryptPasswordEncoder()", | |
| "callee": "com.scality.osis.security.config.OsisJwtBeans.passwordEncoder:org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder()", | |
| "mechanism": "dependency-injection" | |
| } | |
| ], | |
| "parent": "Verification manager → Password store" | |
| }, | |
| { | |
| "order": 4, | |
| "interaction": "Verification manager → Hasher", | |
| "from": "Verification manager", | |
| "to": "Hasher", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/jwt/login/LoginAuthenticationProvider.java", | |
| "line": 49, | |
| "via": [], | |
| "mechanism": "dependency-injection", | |
| "path": [ | |
| { | |
| "caller": "com.scality.osis.security.jwt.login.LoginAuthenticationProvider.authenticate:org.springframework.security.core.Authentication(org.springframework.security.core.Authentication)", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/jwt/login/LoginAuthenticationProvider.java", | |
| "line": 49, | |
| "code": "this.encoder.matches(password, user.getPassword())", | |
| "callee": "com.scality.osis.security.config.OsisJwtBeans.passwordEncoder:org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder()", | |
| "mechanism": "dependency-injection" | |
| } | |
| ], | |
| "parent": "Enforcer → Verification manager" | |
| }, | |
| { | |
| "order": 5, | |
| "interaction": "Verification manager → Comparator", | |
| "from": "Verification manager", | |
| "to": "Comparator", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/jwt/login/LoginAuthenticationProvider.java", | |
| "line": 49, | |
| "via": [], | |
| "mechanism": "call", | |
| "path": [ | |
| { | |
| "caller": "com.scality.osis.security.jwt.login.LoginAuthenticationProvider.authenticate:org.springframework.security.core.Authentication(org.springframework.security.core.Authentication)", | |
| "file": "osis-core/src/main/java/com/scality/osis/security/jwt/login/LoginAuthenticationProvider.java", | |
| "line": 49, | |
| "code": "this.encoder.matches(password, user.getPassword())", | |
| "callee": "org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder.matches:<unresolvedSignature>(2)", | |
| "mechanism": "call" | |
| } | |
| ], | |
| "parent": "Enforcer → Verification manager" | |
| } | |
| ], | |
| "anchoredRoles": [ | |
| { | |
| "role": "Comparator", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Encrypter", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Enforcer", | |
| "kind": "TYPE_DECL" | |
| }, | |
| { | |
| "role": "Hasher", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Password store", | |
| "kind": "METHOD" | |
| }, | |
| { | |
| "role": "Pepper store", | |
| "kind": "external" | |
| }, | |
| { | |
| "role": "Verification manager", | |
| "kind": "METHOD" | |
| } | |
| ], | |
| "skippedRoles": [ | |
| "Subject", | |
| "System" | |
| ] | |
| } | |
| } | |
Xet Storage Details
- Size:
- 6.93 kB
- Xet hash:
- eb42deb43c8e1105ee1f7ef4e7b22a246f6533101f44e1f4ea169a6198e2dd5a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.