繁体   English   中英

wso2身份服务器 - 删除后重新添加自我注册

[英]wso2 identity server - re-add self-registration after removing it

在设置新的WSO2 Identity Server 4.1.0时,我被要求禁用自我注册。 我按照wso2身份服务器中的步骤- 用户自我注册工作正常。 我现在需要将自我注册添加回系统。

我添加了以下功能存储库: http//dist.wso2.org/p2/carbon/releases/4.0.3 (这似乎是正确的)并尝试添加'身份自我注册功能'v4.0.3(已删除的版本)返回系统。 我收到一个对话框,说明在安装功能之前必须检查并接受“以下许可证”。 没有列出许可证。 当我按下Next时它没有做任何事情。 返回和取消都工作正常,但我不能继续前进。

我甚至试图关闭系统并从zip发行版中重新复制这些功能并重新启动它。 这似乎没有重新注册它们与系统。

从zip中复制的功能是以下位置下的所有内容:

repository/components/features/org.wso2.carbon.identity.self.registration_4.0.3
repository/components/features/org.wso2.carbon.identity.self.registration.server_4.0.1
repository/components/features/org.wso2.carbon.identity.self.registration.ui_4.0.3

任何关于让这个重新开启的帮助将非常感谢!

仍然不确定为什么许可证接受对话没有显示可能是一个错误。 在任何情况下,我都设法将功能添加回来。对于那些试图在我之后执行此操作的人,这里涉及的步骤。

  1. 停止服务
  2. 采取备份(只是为了安全)
  3. 从全新复制将以下结构解压缩到安装中的相应位置
    • 库/部件/特征/ org.wso2.carbon.identity.self.registration_4.0.3
    • 库/部件/特征/ org.wso2.carbon.identity.self.registration.server_4.0.1
    • 库/部件/特征/ org.wso2.carbon.identity.self.registration.ui_4.0.3
  4. 在repository / components / artifacts.xml中将工件大小计数增加3,并将以下内容添加到其中

     <artifact classifier='org.eclipse.update.feature' id='org.wso2.carbon.identity.self.registration' version='4.0.3'> <properties size='1'> <property name='download.size' value='836'/> </properties> <repositoryProperties size='1'> <property name='artifact.folder' value='true'/> </repositoryProperties> </artifact> <artifact classifier='org.eclipse.update.feature' id='org.wso2.carbon.identity.self.registration.ui' version='4.0.3'> <properties size='1'> <property name='download.size' value='940'/> </properties> <repositoryProperties size='1'> <property name='artifact.folder' value='true'/> </repositoryProperties> </artifact> <artifact classifier='org.eclipse.update.feature' id='org.wso2.carbon.identity.self.registration.server' version='4.0.1'> <properties size='1'> <property name='download.size' value='933'/> </properties> <repositoryProperties size='1'> <property name='artifact.folder' value='true'/> </repositoryProperties> </artifact> 
  5. 将以下内容添加到repository / components / configuration / org.eclipse.update / platform.xml

     <feature id="org.wso2.carbon.identity.self.registration.ui" url="features/org.wso2.carbon.identity.self.registration.ui_4.0.3/" version="4.0.3"> </feature> <feature id="org.wso2.carbon.identity.self.registration.server" url="features/org.wso2.carbon.identity.self.registration.server_4.0.1/" version="4.0.1"> </feature> <feature id="org.wso2.carbon.identity.self.registration" url="features/org.wso2.carbon.identity.self.registration_4.0.3/" version="4.0.3"> </feature> 
  6. 将以下内容添加到repository / components / configuration / org.eclipse.equinox.simpleconfigurator / bundles.info

     org.wso2.carbon.identity.user.registration,4.0.1,plugins/org.wso2.carbon.identity.user.registration_4.0.1.jar,4,true org.wso2.carbon.identity.user.registration.stub,4.0.0,plugins/org.wso2.carbon.identity.user.registration.stub_4.0.0.jar,4,true org.wso2.carbon.identity.user.registration.ui,4.0.3,plugins/org.wso2.carbon.identity.user.registration.ui_4.0.3.jar,4,true 
  7. 重新启动您的服务,并验证注册链接是否显示在起始页上,并且您可以创建新帐户。

暂无
暂无

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

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