Skip to content

refact: enhance auth logic

Codecov / codecov/patch failed Mar 21, 2024 in 0s

65.06% of diff hit (target 66.26%)

View this Pull Request on Codecov

65.06% of diff hit (target 66.26%)

Annotations

Check warning on line 262 in hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/AuthenticationFilter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/AuthenticationFilter.java#L262

Added line #L262 was not covered by tests

Check warning on line 272 in hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/AuthenticationFilter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/AuthenticationFilter.java#L271-L272

Added lines #L271 - L272 were not covered by tests

Check warning on line 594 in hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/auth/HugeFactoryAuthProxy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/auth/HugeFactoryAuthProxy.java#L594

Added line #L594 was not covered by tests

Check warning on line 603 in hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/auth/HugeFactoryAuthProxy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/auth/HugeFactoryAuthProxy.java#L603

Added line #L603 was not covered by tests

Check warning on line 133 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/security/HugeSecurityManager.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/security/HugeSecurityManager.java#L133

Added line #L133 was not covered by tests

Check warning on line 305 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/security/HugeSecurityManager.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/security/HugeSecurityManager.java#L305

Added line #L305 was not covered by tests

Check warning on line 503 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/security/HugeSecurityManager.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/security/HugeSecurityManager.java#L503

Added line #L503 was not covered by tests

Check warning on line 78 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Reflection.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Reflection.java#L78

Added line #L78 was not covered by tests

Check warning on line 86 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Reflection.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Reflection.java#L85-L86

Added lines #L85 - L86 were not covered by tests

Check warning on line 92 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Reflection.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Reflection.java#L92

Added line #L92 was not covered by tests

Check warning on line 101 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Reflection.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Reflection.java#L100-L101

Added lines #L100 - L101 were not covered by tests

Check warning on line 109 in hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Reflection.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/util/Reflection.java#L107-L109

Added lines #L107 - L109 were not covered by tests