Commit 61c72dcf by 王衍超

增加OSS校验接口;DNA系统调用使用;

parent 0c75a30f
backend/.metadata backend/.metadata
.metadata/ .metadata/
RemoteSystemsTempFiles/
...@@ -225,6 +225,7 @@ public class SecurityConfig { ...@@ -225,6 +225,7 @@ public class SecurityConfig {
.antMatchers("/authc/user/modifySelfPassword").permitAll() .antMatchers("/authc/user/modifySelfPassword").permitAll()
.antMatchers("/crm/load/publicity/byAssetPackage/**").permitAll() .antMatchers("/crm/load/publicity/byAssetPackage/**").permitAll()
.antMatchers("/workflow/api/**").permitAll() .antMatchers("/workflow/api/**").permitAll()
.antMatchers("/dnaserver/**").permitAll()
.anyRequest().authenticated();//listAll,modifySelfPassword,loadAuctionByAsset临时开放 .anyRequest().authenticated();//listAll,modifySelfPassword,loadAuctionByAsset临时开放
http.exceptionHandling().authenticationEntryPoint(authenticationEntryPoint); http.exceptionHandling().authenticationEntryPoint(authenticationEntryPoint);
InzWebAuthenticationFilter filter = new InzWebAuthenticationFilter(); InzWebAuthenticationFilter filter = new InzWebAuthenticationFilter();
......
package com.beecode.inz.war.web;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
/**
* 往DNA系统单点登录的校验接口(DNA 系统调用该接口进行校验)
* @author Jackpot
* @date 2021-03-10
*
*/
@RestController
public class DnaOssController {
@RequestMapping("/dnaserver")
public String oss(@RequestParam String serviceId) {
//credential 凭据
//userName 用户名
return "1";
}
}
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