smolnar82 commented on code in PR #832: URL: https://github.com/apache/knox/pull/832#discussion_r1453545464
########## gateway-spi/src/main/java/org/apache/knox/gateway/deploy/ServiceDeploymentContributorBase.java: ########## @@ -82,7 +83,9 @@ protected void addAuthenticationFilter( DeploymentContext context, Service servi protected void addIdentityAssertionFilter( DeploymentContext context, Service service, ResourceDescriptor resource) { if( topologyContainsProviderType( context, "authentication" ) || topologyContainsProviderType( context, "federation" ) ) { - context.contributeFilter( service, resource, "identity-assertion", null, null ); + Topology topology = context.getTopology(); + Provider activeProvider = topology.getProvider("identity-assertion", null); Review Comment: Can `topology` be `null` here? If so, we may want to check it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org