Movatterモバイル変換


[0]ホーム

URL:


CN104753927B - A kind of method and apparatus of unified verification - Google Patents

A kind of method and apparatus of unified verification
Download PDF

Info

Publication number
CN104753927B
CN104753927BCN201510108571.1ACN201510108571ACN104753927BCN 104753927 BCN104753927 BCN 104753927BCN 201510108571 ACN201510108571 ACN 201510108571ACN 104753927 BCN104753927 BCN 104753927B
Authority
CN
China
Prior art keywords
party application
authentication
user
credentials
party
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510108571.1A
Other languages
Chinese (zh)
Other versions
CN104753927A (en
Inventor
李冬
代庆瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co LtdfiledCriticalNew H3C Technologies Co Ltd
Priority to CN201510108571.1ApriorityCriticalpatent/CN104753927B/en
Publication of CN104753927ApublicationCriticalpatent/CN104753927A/en
Application grantedgrantedCritical
Publication of CN104753927BpublicationCriticalpatent/CN104753927B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of method and apparatus of unified verification, this method includes:Authentication Client carries out authentication using user rs credentials;The Authentication Client obtains the corresponding third-party application list of the user rs credentials;After third-party application startup, if Authentication Client authentication success, judges whether the third-party application is recorded in the third-party application list;If so, the Authentication Client notifies the proof of Register of the third-party application to the third-party application, by the third-party application using carrying out login authentication on the proof of Register to service server.In the embodiment of the present invention, when multiple third-party applications correspond to identical user rs credentials, the user rs credentials can be directed to and carry out authentication, multiple application programs only need authentication primary, authentication need not be repeatedly carried out using the user rs credentials, the usage experience for improving user, facilitates the permission of third-party application to control.

Description

A kind of method and apparatus of unified verification
Technical field
The present invention relates to fields of communication technology, more particularly, to a kind of method and apparatus of unified verification.
Background technology
For multiple application programs of the same enterprise, same set of user rs credentials (such as username information is often required to useWith encrypted message etc.) authentication is carried out, if the application program of enterprise is more, each application program inputs identical useWhen the authority of family, the usage experience of user can be made to decline.For example, as shown in Figure 1, three application programs of enterprise are respectively to apply journeySequence 1, application program 2 and application program 3, application program 1 need to use user rs credentials A to AAA (AuthenticationAuthorization Accounting, authentication and authorization charging) authentication is carried out on server, and in authentication successAfterwards, to carrying out login authentication on service server 1;Application program 2, which needs to use on user rs credentials A to aaa server, carries out bodyPart verification, and authentication success after, to service server 2 on carry out login authentication;Application program 3 need using user withAccording to carrying out authentication on A to aaa server, and after authentication success, to service server 3 on carry out login authentication.In these cases, three application programs all have input and carry out authentication on identical user rs credentials A to aaa server, makeThe usage experience for obtaining user declines.
Invention content
The embodiment of the present invention provides a kind of method of unified verification, and Authentication Client and multiple thirds are run on terminal deviceFang Yingyong, the multiple third-party application correspond to identical user rs credentials, the method includes:
The Authentication Client carries out authentication using the user rs credentials;
The Authentication Client obtains the corresponding third-party application list of the user rs credentials, the third-party application listInside have recorded the third-party application that authentication is carried out using the user rs credentials;
After third-party application startup, if Authentication Client authentication success, the Authentication ClientJudge whether the third-party application is recorded in the third-party application list;
If so, the Authentication Client notifies the proof of Register of the third-party application to the third-party application,By the third-party application using carrying out login authentication on the proof of Register to service server.
The Authentication Client carries out the process of authentication using the user rs credentials, specifically includes:
The Authentication Client using carrying out authentication in the user rs credentials to authentication and authorization charging aaa server,And receive authentication success/unsuccessful response message from the aaa server.
The Authentication Client obtains the process of the corresponding third-party application list of the user rs credentials, specifically includes:InstituteAuthentication Client is stated to send for asking have the third-party application for using the user rs credentials permission to arrange to application authorization serverThe message of table, and receive the response message from the carrying third-party application list using authorization server;Wherein,It is described using be configured on authorization server allow using the user rs credentials carry out authentication third-party application thirdSquare list of application.
The Authentication Client judges whether the third-party application is recorded in after the third-party application list, describedMethod further comprises:
If the third-party application is not recorded in the third-party application list, the Authentication Client is by instituteStating third-party application does not have permission to notify, to the third-party application, to be answered by the third party using the information of the user rs credentialsAuthentication cannot be carried out with knowing using the user rs credentials.
The user rs credentials specifically include username information and encrypted message, the proof of Register be specially log in token orPerson's Cookie marks.
The embodiment of the present invention provides a kind of Authentication Client, runs Authentication Client on terminal device and multiple third parties answerWith the multiple third-party application corresponds to identical user rs credentials, and the Authentication Client includes:Authentication module is used forAuthentication is carried out using the user rs credentials;
Acquisition module, for obtaining the corresponding third-party application list of the user rs credentials, the third-party application listInside have recorded the third-party application that authentication is carried out using the user rs credentials;
Judgment module, after starting in third-party application, if authentication module authentication success,Judge whether the third-party application is recorded in the third-party application list;
Sending module, for when judging result is to be, the proof of Register of third-party application to be notified to the third partyUsing, by the third-party application utilize the proof of Register to service server carry out login authentication.
The authentication module is specifically used for enterprising to authentication and authorization charging aaa server using the user rs credentialsRow authentication, and receive authentication success/unsuccessful response message from the aaa server.
The acquisition module, specifically for being sent to application authorization server for asking to have to weigh using the user rs credentialsThe message of the third-party application list of limit, and receive from the carrying using the authorization server third-party application listResponse message;Wherein, described to allow to carry out authentication using the user rs credentials using being configured on authorization serverThe third-party application list of third-party application.
The sending module, be additionally operable to judge the third-party application whether be recorded in the third-party application list itAfterwards, if the third-party application is not recorded in the third-party application list, the third-party application is not weighedLimit notifies, to the third-party application, by the third-party application to be known described in cannot using using the information of the user rs credentialsUser rs credentials carry out authentication.
The user rs credentials include username information and encrypted message, and the proof of Register is to log in token or CookieMark.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, for multiple application programs of the same enterprise, when multipleWhen tripartite's application corresponds to identical user rs credentials, the user rs credentials can be directed to and carry out authentication, multiple application programs only needIt wants authentication primary, need not repeatedly carry out authentication using the user rs credentials, it is user-friendly, it improves and usesThe usage experience at family.The third party for carrying out authentication using user rs credentials is allowed to answer by being configured in third-party application listWith, can control which third-party application using the user rs credentials carry out authentication, facilitate the permission of third-party application to control.
Description of the drawings
Fig. 1 is the schematic diagram that multiple application programs carry out authentication in the prior art;
Fig. 2 is the schematic diagram that multiple application programs carry out authentication in the embodiment of the present invention;
Fig. 3 is a kind of method flow schematic diagram of unified verification provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of Authentication Client provided in an embodiment of the present invention.
Specific implementation mode
For problems of the prior art, an embodiment of the present invention provides a kind of methods of unified verification, are applied toIn network including terminal device, service server, aaa server and application authorization server.Certification is run on terminal deviceClient and multiple third-party applications (i.e. APP), multiple third-party applications correspond to identical user rs credentials, and the user rs credentials are specificIncluding but not limited to username information and encrypted message.
Using Fig. 2 as the application scenarios schematic diagram of the embodiment of the present invention, the operating system platform of terminal device is (such as:IOS,Android, Windows) on operation Authentication Client, third-party application 1 (APP1), third-party application 2 (APP2), third party answerWith 3 (APP3).Aaa server is used to carry out authentication to third-party application 1, third-party application 2, third-party application 3.UsingThe third-party application list for the third-party application for allowing to carry out authentication using the user rs credentials is configured on authorization server,I.e. by applying authorization server which third-party application can be authorized the user rs credentials can be used to carry out authentication.ExampleSuch as, when the user rs credentials can be used to carry out authentication using authorization server mandate third-party application 1, third-party application 2,Include then third-party application 1, third-party application 2 in third-party application list.Service server 1 be used for third-party application 1 intoRow login authentication, service server 2 are used to carry out login authentication to third-party application 2.Authentication Client is responsible for third-party applicationAuthentication, i.e., instead of third-party application using carrying out authentication in user rs credentials to aaa server, and manage third partyThe authentication of application.
Under above application scene, as shown in figure 3, the method for unification verification specifically includes following steps:
Step 301, Authentication Client using user rs credentials (the corresponding identical user rs credentials of i.e. multiple third-party applications,User rs credentials can such as username information and encrypted message) carry out authentication.
In the embodiment of the present invention, Authentication Client carries out the process of authentication using user rs credentials, specifically includes but notIt is limited to such as under type:Authentication Client is received and is taken from AAA using carrying out authentication in user rs credentials to aaa serverAuthentication success/unsuccessful response message of business device.
Specifically, the user rs credentials such as username information and encrypted message are sent to aaa server, AAA by Authentication ClientUsername information and encrypted message that server by utilizing is locally stored, username information and message in cipher from Authentication ClientBreath carries out authentication to Authentication Client.If authentication success, aaa server send identity to Authentication ClientThe response message being proved to be successful;If authentication is unsuccessful, aaa server to Authentication Client send authentication not atThe response message of work(.
Step 302, Authentication Client obtains the corresponding third-party application list of user rs credentials, in the third-party application listHave recorded the third-party application that authentication is carried out using the user rs credentials.
In the embodiment of the present invention, Authentication Client obtains the process of the corresponding third-party application list of user rs credentials, specificallyIncluding but not limited to such as under type:Authentication Client is sent to application authorization server for asking to have to be weighed using the user rs credentialsThe message of the third-party application list of limit, and receive come self-application authorization server carrying third-party application list (wherein takeInformation with third-party application) response message.
Specifically, which third-party application can be authorized to have permission using user's unified login, i.e., using authorization serverThird-party application mandate is carried out in application authorization server, setting allows the third-party application list using unified login function,It include the third-party application that authentication is carried out using user rs credentials in the third-party application list, it is assumed that the third-party applicationInclude third-party application 1, third-party application 2 in list.Based on this, Authentication Client is after authentication success, to applicationAuthorization server sends the message of the third-party application list for asking to have using the user rs credentials permission.Using authorization serviceDevice returns to Authentication Client after receiving that message, by the third-party application list for having access right, third-party application rowInclude third-party application 1, third-party application 2 in table.Authentication Client knows third party after receiving third-party application listUser rs credentials can be used to carry out authentication using 1, third-party application 2.
Step 303, after third-party application startup, if Authentication Client authentication success, Authentication ClientJudge whether the third-party application is recorded in third-party application list.If it is, Authentication Client can execute step304;If it is not, then Authentication Client can execute step 305.
Step 304, Authentication Client notifies the proof of Register of third-party application to third-party application, by third-party applicationUsing carrying out login authentication on the proof of Register to service server.
Step 305, third-party application is not had permission to be notified to third party using the information of user rs credentials by Authentication ClientUsing being known by third-party application cannot use the user rs credentials to carry out authentication.
In the embodiment of the present invention, after third-party application startup, third-party application is objective to certification by software development kitAsk authentication result in family end.If Authentication Client carries out authentication not yet, 301 and step 302 are thened follow the steps,Authentication is carried out by Authentication Client.If Authentication Client has carried out authentication, tested in Authentication Client identityWhen demonstrate,proving unsuccessful, handled according to the prior art.If Authentication Client has carried out authentication, in Authentication ClientWhen authentication success, Authentication Client judges whether third-party application is recorded in third-party application list.For third partyUsing 1, for third-party application 1 in third-party application list, Authentication Client gives the notice of the proof of Register 1 of third-party application 1Third-party application 1.For third-party application 2, third-party application 2 is in third-party application list, and Authentication Client is by third partyIt is notified to third-party application 2 using 2 the proof of Register 2.For third-party application 3, third-party application 3 is not arranged in third-party applicationIn table, third-party application 3 is not had permission to be notified to third-party application 3 using the information of user rs credentials by Authentication Client, byTripartite is known using 3 cannot use the user rs credentials to carry out authentication, i.e., the user rs credentials cannot be used to access the industry of enterpriseBusiness server.
In the embodiment of the present invention, the proof of Register, which is specifically as follows, logs in token or Cookie marks.
Third-party application 1 uses the 1 registering service server 1 of the proof of Register after receiving the proof of Register 1.Business serviceDevice 1 on the proof of Register 1 to aaa server using being verified.If verifying successfully, service server 1 is to third-party application 1The information logined successfully is returned to, and third-party application 1 can use the business of service server 1.If verification failure, business clothesBusiness device 1 returns to the information of login failure to third-party application 1, and third-party application 1 cannot use the industry of service server 1Business.
Third-party application 2 uses the 2 registering service server 2 of the proof of Register after receiving the proof of Register 2.Business serviceDevice 2 on the proof of Register 2 to aaa server using being verified.If verifying successfully, service server 2 is to third-party application 2The information logined successfully is returned to, and third-party application 2 can use the business of service server 2.If verification failure, business clothesBusiness device 2 returns to the information of login failure to third-party application 2, and third-party application 2 cannot use the industry of service server 2Business.
Based on the above-mentioned technical proposal, in the embodiment of the present invention, for multiple application programs of the same enterprise, when multipleWhen tripartite's application corresponds to identical user rs credentials, the user rs credentials can be directed to and carry out authentication, multiple application programs only needIt wants authentication primary, need not repeatedly carry out authentication using the user rs credentials, it is user-friendly, it improves and usesThe usage experience at family.The third party for carrying out authentication using user rs credentials is allowed to answer by being configured in third-party application listWith, can control which third-party application using the user rs credentials carry out authentication, facilitate the permission of third-party application to control.
Based on inventive concept same as the above method, a kind of Authentication Client is additionally provided in the embodiment of the present invention, eventuallyAuthentication Client is run in end equipment and multiple third-party applications, the multiple third-party application correspond to identical user rs credentials,As shown in figure 4, the Authentication Client specifically includes:
Authentication module 11, for carrying out authentication using the user rs credentials;
Acquisition module 12, for obtaining the corresponding third-party application list of the user rs credentials, the third-party application rowThe third-party application that authentication is carried out using the user rs credentials is had recorded in table;
Judgment module 13, after starting in third-party application, if authentication module authentication success,Then judge whether the third-party application is recorded in the third-party application list;
Sending module 14, for when judging result is to be, the proof of Register of third-party application to be notified to the thirdFang Yingyong, the third-party application carry out login authentication using the proof of Register to service server.
The authentication module 11, specifically for using carrying out authentication in the user rs credentials to aaa server,And receive authentication success/unsuccessful response message from the aaa server.
The acquisition module 12 uses the user rs credentials specifically for being sent to application authorization server for asking to haveThe message of the third-party application list of permission, and receive from the carrying using the authorization server third-party application rowThe response message of table;Wherein, being configured on the application authorization server allows to carry out authentication using the user rs credentialsThird-party application third-party application list.
The sending module 14 is additionally operable to judging whether the third-party application is recorded in the third-party application listLater, if the third-party application is not recorded in the third-party application list, the third-party application is not hadPermission notifies that, to the third-party application, institute cannot be used by being known by the third-party application using the information of the user rs credentialsIt states user rs credentials and carries out authentication.
In the embodiment of the present invention, the user rs credentials include username information and encrypted message, and the proof of Register is to step onRecord token or Cookie marks.
Wherein, the modules of apparatus of the present invention can be integrated in one, and can also be deployed separately.Above-mentioned module can closeAnd be a module, multiple submodule can also be further split into.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be bySoftware adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but the former is more in many casesGood embodiment.Based on this understanding, technical scheme of the present invention substantially in other words contributes to the prior artPart can be expressed in the form of software products, which is stored in a storage medium, if includingDry instruction is used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes this hairMethod described in bright each embodiment.It will be appreciated by those skilled in the art that attached drawing is the schematic diagram of a preferred embodiment,Module or flow in attached drawing are not necessarily implemented necessary to the present invention.It will be appreciated by those skilled in the art that in embodimentDevice in module can according to embodiment describe be distributed in the device of embodiment, respective change position can also be carried outIn one or more devices different from the present embodiment.The module of above-described embodiment can be merged into a module, can alsoIt is further split into multiple submodule.The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.WithSeveral specific embodiments of the upper disclosed only present invention, still, the present invention is not limited to this, any those skilled in the artMember can think of variation should all fall into protection scope of the present invention.

Claims (10)

CN201510108571.1A2015-03-122015-03-12A kind of method and apparatus of unified verificationActiveCN104753927B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510108571.1ACN104753927B (en)2015-03-122015-03-12A kind of method and apparatus of unified verification

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510108571.1ACN104753927B (en)2015-03-122015-03-12A kind of method and apparatus of unified verification

Publications (2)

Publication NumberPublication Date
CN104753927A CN104753927A (en)2015-07-01
CN104753927Btrue CN104753927B (en)2018-09-04

Family

ID=53593031

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510108571.1AActiveCN104753927B (en)2015-03-122015-03-12A kind of method and apparatus of unified verification

Country Status (1)

CountryLink
CN (1)CN104753927B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105978688B (en)*2016-05-302019-04-16葛峰A kind of cross-domain safety certifying method based on information separation management
CN110084578A (en)*2019-03-272019-08-02北京三快在线科技有限公司Method, apparatus and storage medium based on Third-party payment platform payment
TWI768307B (en)*2020-03-182022-06-21傑睿資訊服務股份有限公司 Open source software integration approach
CN115242472B (en)*2022-07-082024-10-08北京新唐思创教育科技有限公司 An identity verification method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102129287A (en)*2011-03-172011-07-20宇龙计算机通信科技(深圳)有限公司Mobile terminal and power supply management method for application program thereof
CN104301316A (en)*2014-10-132015-01-21中国电子科技集团公司第二十八研究所 A single sign-on system and its implementation method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102739708B (en)*2011-04-072015-02-04腾讯科技(深圳)有限公司System and method for accessing third party application based on cloud platform
CN102882835B (en)*2011-07-132015-09-09中国科学院声学研究所A kind of method and system realizing single-sign-on
CN104065616B (en)*2013-03-202017-06-20中国移动通信集团公司Single-point logging method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102129287A (en)*2011-03-172011-07-20宇龙计算机通信科技(深圳)有限公司Mobile terminal and power supply management method for application program thereof
CN104301316A (en)*2014-10-132015-01-21中国电子科技集团公司第二十八研究所 A single sign-on system and its implementation method

Also Published As

Publication numberPublication date
CN104753927A (en)2015-07-01

Similar Documents

PublicationPublication DateTitle
US12341901B1 (en)PKI-based user authentication for web services using blockchain
US10432608B2 (en)Selectively enabling multi-factor authentication for managed devices
US11451535B1 (en)System, method and computer program product for credential provisioning in a mobile device platform
CN107645486B (en)login authentication method and device
US10333927B2 (en)Simulated SSO functionality by means of multiple authentication procedures and out-of-band communications
CN103297410B (en)Account intercommunication system and its application method
US20180295137A1 (en)Techniques for dynamic authentication in connection within applications and sessions
Tiefenau et al.A usability evaluation of Let's Encrypt and Certbot: usable security done right
EP2705642B1 (en)System and method for providing access credentials
CN106534143A (en)Method and system capable of realizing cross-application authentication authorization
CN105101183B (en)The method and system that privacy content on mobile terminal is protected
US12143493B2 (en)Authentication of communication session participants using blockchain
US11714894B2 (en)Authenticating client applications using an identity fabric blockchain
CN104753927B (en)A kind of method and apparatus of unified verification
Beltran et al.User identity for WebRTC services: A matter of trust
CN109005159A (en)The data processing method and certificate server of terminal access system server
CN110990826A (en) Authentication method and device for logging in to applet
CN106161475A (en)The implementation method of subscription authentication and device
CN110166471A (en)A kind of portal authentication method and device
CN104796408A (en)Single-point live login method and single-point live login device
CN114124530B (en)Automatic login method and device of cross-border matching system
CN105574400B (en)A kind of information processing method and electronic equipment
CN107026814A (en)A kind of login validation method and device through point attendant application
CN109067749A (en)A kind of information processing method, equipment and computer readable storage medium
CN116248368B (en) Blockchain-based identity authentication method, system, device, and storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
EXSBDecision made by sipo to initiate substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information
CB02Change of applicant information

Address after:310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after:Xinhua three Technology Co., Ltd.

Address before:310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before:Huasan Communication Technology Co., Ltd.

GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp