Home > Enterprise >  Single sign-on mechanism introduction to ufida NC products
Single sign-on mechanism introduction to ufida NC products

Time:09-18

A, NCV5
1) : a single point of business system
Third party system in single point NC business principle for registration certification key value, and then use the key log in
Registration certification:
String urlString=ServerConfiguration. GetServerConfiguration (.) getMasterEndpointURL (). The replaceAll ("/ServiceDispatcherServlet ", "");
String keyid="custom standard for certification";
UrlString=urlString +/service/RegisterServlet?" Key="+ +" keyid & amp; Usercode="+ +" usercode & amp; The PWD="+ +" userpassword & amp; Accountcode accountcode="+ +" & amp; Pkcorp="+ pk_corp;
URL the URL=new URL (urlString);
The connection url=(HttpURLConnection). The openConnection ();
Connection. The connect ();
Using keyid landing system
Var frameID=document. The createElement method (" iframe ");
Frame. The SRC="http://ip:port/login.jsp? Key="+ keyid;
2) : single point to the business system and open the node
To single node need to single sign-on system first, then NCApplet reflection mechanism to open the node
Var applet.=ncFrame contentWindow. Document. Applets (" NCApplet ");
Applet. CallNC (" nc. UI. Sm. Webcall. OpenNCNode ", "openNode", "node number");
Nc. UI. Sm. Webcall. OpenNCNode for reflection classes, specific reference Java API specification,
3) : single point to the HR self-service system
Mechanism is very simple, with the response directly sendRedirect method is ok
The response. SendRedirect ("/HRSS/access. Login. D? HRSS_LOGIN_USER_ENCODED="+ +" usercode & amp; LoginPswd HRSS_LOGIN_PSWD="+ +" & amp; HRSS_DATA_SOURCE="+ ds);
4) : a single point of HR self-service system and open the node
Here don't do detailed introduction, web nodes are joining together the URL address, but to the function of the products provided directly open the node, interested friends can look at the
Nc. Bs. HRSS. Url. URLDirectController this controller class,

Second, NCV6
1) : a single point of business system
NCV6 don't do detailed introduction, platform stronger gave us everything, specific reference SSORegisterServlet, look not to understand the career change, ha ha!
2) : single point to the business system and open the node
Portal uap has been seamlessly integrated NC business system nodes, can use the administrator login portal portal business center, with the code again will understand
3) : single point to the portal platform
You can use LoginHelper Portal to verify landing approach (different from portal login page enter your user password authentication code, here don't have to)
Can use the uap portal provides powerful land chain is complete, but the process need to insert into the database a statement, refer to the base class AbstractVerifyChain
4) : single point to the portal platform and open the node
Here don't do detailed introduction, web nodes are joining together the URL address, and then the response. SendRedirect (URL); System encapsulation methods also have,

CodePudding user response:

We use OAuth2.0 implement single sign-on (sso)

CodePudding user response:

Great god, hello, I am currently doing 57 open the node and the backlog of news, before is work in ufida, but for the realization of the open class reflection nodes is not very understanding, can you instruct me
  • Related