简体   繁体   English

在春季使用cas与netsuite集成的sso

[英]sso with netsuite integration in spring using cas

I want to implement Single signon between Spring application and Netsuite using cas. 我想使用cas在Spring应用程序和Netsuite之间实现单点登录。 Seached many things on net but nothing was fruitful. 在网络上发现了很多东西,但没有任何成果。 kindly help me on this with some links or documents. 请通过一些链接或文档帮助我。

Thanks in advance. 提前致谢。

I just completed two SSO's in NetSuite for our firm. 我刚刚为我们的公司在NetSuite中完成了两个SSO。 (You will find this under Setup>Integration>SSO) We ended up having NetSuite send a specifically crafted URL to our internal PHP intranet. (您可以在Setup> Integration> SSO下找到它。)最后,我们让NetSuite将特制的URL发送到内部PHP Intranet。 The web app' there receives the incoming URL and does stuff on it, and the user gets what they need. 那里的Web应用程序接收传入的URL并对其进行处理,然后用户获得所需的东西。

Forgive me for not knowing anything about Spring, but if you can run your web app' to receive an incoming URL (post), then you will create a new SSO object inside of your ERP instance, and pass the values that you need to pass to your web app' from there. 请原谅我对Spring一无所知,但是如果您可以运行Web应用程序以接收传入URL(发布),那么您将在ERP实例内部创建一个新的SSO对象,并传递您需要传递的值到您的网络应用程序”。 Those can be built-in values that come right out the system (ie: "{entityid}") or these can be values that you create with a script, pass them to the SSO, then the SSO passes those to your web app'. 这些值可以是直接来自系统的内置值(例如:“ {entityid}”),也可以是您使用脚本创建的值,然后将其传递给SSO,然后SSO会将其传递给您的Web应用' 。 You can "place" an SSO "object" on to a "custom Tab" on your "custom Form". 您可以将SSO“对象”“放置”到“自定义表单”上的“自定义选项卡”上。 Or you can create an entirely new Form. 或者,您可以创建一个全新的表格。 Or you can place your SSO in some other location. 或者,您也可以将SSO放在其他位置。 I chose to place ours on a custom Tab, as that was effective for our use case. 我选择了把我们的自定义选项卡,因为这是有效的为我们的使用情况。

The only other two places you can "place" your SSO is on to a "Portlet" (say, like a custom panel on your Dashboard or similar) or a "SuiteLet" (which I havent done yet but am working on right now). 您可以将SSO“放置”到的另外两个位置是“ Portlet”(例如,您的仪表板上的自定义面板或类似面板)或“ SuiteLet”(我尚未完成但现在正在使用) 。

If you have any "bundles" installed in your instance, some of them have SSO inside of them, and some of them are "protected" and some of them are not, and the unprotected ones can be downloaded as JavaScript to your machine for examination, consideration, & emulation. 如果您的实例中安装了任何“捆绑包”,则其中一些内部装有SSO,其中一些受到“保护”,而另一些则没有,可以将未受保护的捆绑作为JavaScript下载到您的计算机上进行检查。 ,考虑和仿真。

The help in SuiteAnswers is decent but doesnt give many working examples for your to adapt. 在SuiteAnswers帮助是不错,但犯规给你,以适应许多工作的例子。 The PHP Tool Kit has a working sample of an SSO inside of it & I highly recommend getting that, unzipping it, and reading all of those files, even if it has no table of contents, you can easily follow all the includes and references amongst those files. PHP工具包中包含一个SSO的工作示例,我强烈建议您将其获取,解压缩并读取所有这些文件,即使它没有目录,您也可以轻松地遵循其中的所有包含和引用。这些文件。

If you have a specific follow-up question about something in there, please post, and while I'm an intermediate at it, I'll give it the ole college try to answer. 如果您对其中的某些内容有特定的后续问题,请发表,虽然我是该课程的中级课程,但我将由ole College尝试回答。 And if you need anything past that, ping me. 而且,如果您需要任何其他功能,请ping我。

Cheers. 干杯。

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

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