solution/solution-ack-sts-token/code-example/java/spring-boot/src/main/java/org/example/service/SdkV2Service.java [17:25]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public String getCallerIdentity() {
        try {
            GetCallerIdentityResponse getCallerIdentityResponse = sdkV2StsClient.getCallerIdentity();
            return JSON.toJSONString(getCallerIdentityResponse);
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



solution/solution-cross-account-sts-token/code-example/java/spring-boot/ram-role-credential/sdk-v2/src/main/java/org/example/controller/Controller.java [20:28]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public String getCallerIdentity() {
        try {
            GetCallerIdentityResponse getCallerIdentityResponse = sdkV2StsClient.getCallerIdentity();
            return JSON.toJSONString(getCallerIdentityResponse);
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



solution/solution-ecs-sts-token/code-example/java/spring-boot/src/main/java/org/example/service/SdkV2Service.java [17:25]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public String getCallerIdentity() {
        try {
            GetCallerIdentityResponse getCallerIdentityResponse = sdkV2StsClient.getCallerIdentity();
            return JSON.toJSONString(getCallerIdentityResponse);
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



