简体   繁体   English

Assistedservicestorefront 登录不起作用

[英]Assistedservicestorefront login does not work

I have created custom assistedservicestorefront .When I tried to login as asagent ,an error "Request method 'POST' not supported" will throw.我创建了自定义辅助服务店面。当我尝试以asagent身份登录时,将抛出错误“不支持请求方法‘POST’” I have tried to perform debugging it,but AssistedServiceComponentController has not seen by storefront.我试图对其进行调试,但店面没有看到AssistedServiceComponentController I mean, debug is useless for it but debug works for AssistedServiceComponentRenderer .我的意思是,调试对它没有用,但调试对AssistedServiceComponentRenderer 有效 The steps I followed are:我遵循的步骤是:

  1. ant addoninstall ...蚂蚁插件安装...

  2. AssistedServiceComponent and related impexes AssistedServiceComponent 和相关的impex

  3. UserGroup and Employee impexes用户组和员工影响

  4. ...additionalWebSpringConfigs...=classpath:/.... in local.properties and project.properties ...additionalWebSpringConfigs...=classpath:/.... 在 local.properties 和 project.properties 中

How to solve this problem?如何解决这个问题呢?

It is totally related to " addOnJavaScriptPaths " in " javascript.tag ".它与“ javascript.tag ”中的“ addOnJavaScriptPaths ”完全相关。 When I enabled it for assistedservicestorefront , it works.当我为assistantservicestorefront启用它时,它可以工作。 Otherwise, it will throw the error that I mentioned above in CsrfFilter which is a filter of springSecurityFilterChain .否则,它会抛出,在CsrfFilterspringSecurityFilterChain的过滤器上面提到我的错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM