Buckets:

download
raw
7.46 kB
{
"interaction_sequence": {
"available": true,
"language": "java",
"repo": "ddphin_ddphin-security",
"reason": "",
"entryRole": "Enforcer",
"entryRule": "behaviour",
"interactions": [
{
"order": 1,
"interaction": "Enforcer → Verifier",
"from": "Enforcer",
"to": "Verifier",
"file": "src/main/java/com/ddphin/security/provider/AJwtAuthenticationProvider.java",
"line": 28,
"via": [
"[spring] ProviderManager.authenticate",
"com.ddphin.security.provider.AJwtAuthenticationProvider.authenticate:org.springframework.security.core.Authentication(org.springframework.security.core.Authentication)"
],
"mechanism": "dispatch",
"path": [
{
"caller": "com.ddphin.security.filter.AJwtAuthenticationFilter.doFilterInternal:void(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.FilterChain)",
"file": "src/main/java/com/ddphin/security/filter/AJwtAuthenticationFilter.java",
"line": 59,
"code": "getAuthenticationManager().authenticate(authToken)",
"callee": "com.ddphin.security.provider.AJwtAuthenticationProvider.authenticate:org.springframework.security.core.Authentication(org.springframework.security.core.Authentication)",
"mechanism": "dispatch",
"route": "[spring] ProviderManager.authenticate"
},
{
"caller": "com.ddphin.security.provider.AJwtAuthenticationProvider.authenticate:org.springframework.security.core.Authentication(org.springframework.security.core.Authentication)",
"file": "src/main/java/com/ddphin/security/provider/AJwtAuthenticationProvider.java",
"line": 28,
"code": "this.jwtService.validate(token, jwtToken.getIp())",
"callee": "com.ddphin.security.endpoint.service.AJWTAbstractService.validate:com.auth0.jwt.interfaces.DecodedJWT(java.lang.String,java.lang.String)",
"mechanism": "call"
}
],
"parent": ""
},
{
"order": 2,
"interaction": "Verifier → Key manager",
"from": "Verifier",
"to": "Key manager",
"file": "src/main/java/com/ddphin/security/endpoint/service/AJWTAbstractService.java",
"line": 83,
"via": [],
"mechanism": "data",
"path": [
{
"caller": "com.ddphin.security.endpoint.service.AJWTAbstractService.validate:com.auth0.jwt.interfaces.DecodedJWT(java.lang.String,java.lang.String)",
"file": "src/main/java/com/ddphin/security/endpoint/service/AJWTAbstractService.java",
"line": 83,
"code": "",
"callee": "JWT_HMAC256",
"mechanism": "data"
}
],
"parent": "Enforcer → Verifier"
},
{
"order": 3,
"interaction": "Verifier → Cryptographer",
"from": "Verifier",
"to": "Cryptographer",
"file": "src/main/java/com/ddphin/security/endpoint/service/AJWTAbstractService.java",
"line": 83,
"via": [],
"mechanism": "call",
"path": [
{
"caller": "com.ddphin.security.endpoint.service.AJWTAbstractService.validate:com.auth0.jwt.interfaces.DecodedJWT(java.lang.String,java.lang.String)",
"file": "src/main/java/com/ddphin/security/endpoint/service/AJWTAbstractService.java",
"line": 83,
"code": "require(Algorithm.HMAC256(JWT_HMAC256)).withIssuer(JWT_ISSUER).withClaim(\"ip\", ip).build().verify(token)",
"callee": "<unresolvedNamespace>.verify:<unresolvedSignature>(1)",
"mechanism": "call"
}
],
"parent": "Enforcer → Verifier"
},
{
"order": 4,
"interaction": "Enforcer → Key manager",
"from": "Enforcer",
"to": "Key manager",
"file": "src/main/java/com/ddphin/security/endpoint/service/AJWTAbstractService.java",
"line": 121,
"via": [
"com.ddphin.security.handler.AIdentityAuthenticationSuccessHandler.onAuthenticationSuccess:void(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.security.core.Authentication)",
"com.ddphin.security.endpoint.service.AJWTAbstractService.create:java.lang.String()",
"com.ddphin.security.endpoint.service.AJWTAbstractService.create:java.lang.String(com.ddphin.security.entity.AIdentity,java.lang.String[])"
],
"mechanism": "data",
"path": [
{
"caller": "com.ddphin.security.filter.AJwtAuthenticationFilter.successfulAuthentication:void(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,javax.servlet.FilterChain,org.springframework.security.core.Authentication)",
"file": "src/main/java/com/ddphin/security/filter/AJwtAuthenticationFilter.java",
"line": 83,
"code": "this.successHandler.onAuthenticationSuccess(request, response, authResult)",
"callee": "com.ddphin.security.handler.AIdentityAuthenticationSuccessHandler.onAuthenticationSuccess:void(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.security.core.Authentication)",
"mechanism": "dispatch"
},
{
"caller": "com.ddphin.security.handler.AIdentityAuthenticationSuccessHandler.onAuthenticationSuccess:void(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.security.core.Authentication)",
"file": "src/main/java/com/ddphin/security/handler/AIdentityAuthenticationSuccessHandler.java",
"line": 29,
"code": "this.jwtService.create()",
"callee": "com.ddphin.security.endpoint.service.AJWTAbstractService.create:java.lang.String()",
"mechanism": "call"
},
{
"caller": "com.ddphin.security.endpoint.service.AJWTAbstractService.create:java.lang.String()",
"file": "src/main/java/com/ddphin/security/endpoint/service/AJWTAbstractService.java",
"line": 41,
"code": "create(identity, authentication.getAuthorities().stream().map(GrantedAuthority::getAuthority).toArray(String[]::new))",
"callee": "com.ddphin.security.endpoint.service.AJWTAbstractService.create:java.lang.String(com.ddphin.security.entity.AIdentity,java.lang.String[])",
"mechanism": "call"
},
{
"caller": "com.ddphin.security.endpoint.service.AJWTAbstractService.create:java.lang.String(com.ddphin.security.entity.AIdentity,java.lang.String[])",
"file": "src/main/java/com/ddphin/security/endpoint/service/AJWTAbstractService.java",
"line": 121,
"code": "",
"callee": "JWT_HMAC256",
"mechanism": "data"
}
],
"parent": ""
}
],
"anchoredRoles": [
{
"role": "Cryptographer",
"kind": "external"
},
{
"role": "Enforcer",
"kind": "TYPE_DECL"
},
{
"role": "Key manager",
"kind": "MEMBER"
},
{
"role": "Verifier",
"kind": "METHOD"
}
],
"skippedRoles": [
"Subject",
"System"
]
}
}

Xet Storage Details

Size:
7.46 kB
·
Xet hash:
d967805f4cb300a9741bcd6d6414e0d99cbcf300d0e6d820642145541c74b06c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.