Commit 4b1e794f authored by Quxl's avatar Quxl

x

parent 7792d9a1
package com.egolm.sso.config; package com.egolm.sso.config;
import java.util.Arrays;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
...@@ -33,6 +34,7 @@ public class WsConfig { ...@@ -33,6 +34,7 @@ public class WsConfig {
@Bean @Bean
public Endpoint getMaterialMasterPoint(MaterialMasterService materialMasterService) { public Endpoint getMaterialMasterPoint(MaterialMasterService materialMasterService) {
EndpointImpl endpoint = new EndpointImpl(bus, materialMasterService); EndpointImpl endpoint = new EndpointImpl(bus, materialMasterService);
endpoint.setInInterceptors(Arrays.asList(authInterceptor));
endpoint.publish("/material_master"); endpoint.publish("/material_master");
return endpoint; return endpoint;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment