|国家预印本平台
首页|基于Smack库与HttpClient登录的实现

基于Smack库与HttpClient登录的实现

he Implementation of Login Based on Smack Library and HttpClient

中文摘要英文摘要

不论是网站还是论坛,又或是一般的信息管理系统,登录功能都是它们当中必不可少的一部分。传统的登录某个系统的方式是通过注册成为该系统的用户,然后使用注册的用户名和密码登录系统。为了满足酒店顾客无需注册就能登录PDA点菜系统的功能需求,本文介绍了一种利用特定插件API与HttpClient的用户登录方式在PDA点菜系统中的实现,通过这种方式,用户不需要注册,就可利用自己常用的邮箱或者即时聊天工具的用户名和密码登录系统。这种方式的实现原理是借助特定插件的API或者利用HttpClient方式,在现有应用程序中编写一段特定系统的登录代码,比如,通过Apache提供的Smack API编写Gmail登录的代码,这样Gmail的用户就可以通过自己Gmail邮箱的用户名和密码登录这个系统,而不需要在系统中注册。

No matter the website or forum, or general information management system, the feature of login is an essential part of them. The login style of a traditional system is through registered as users of the system and then use the registered user name and password to login system.In order to meet the demand that customer could login system with out register. This paper presents a different way of the realization of user login, according this way, users do not need to register, you can make use of the user name and password of e-mail or instant messenger to login the system. The principle of this approach make use of the specific plug-in API or use HttpClient manner, writing a specific login code on the existing applications, for example, writing the login code of Gmail style through the Smack API provided by Apache, so that users of Gmail can, through their own mail user name and password to login the system but without having to register in the system.

付聪

计算技术、计算机技术

登录应用程序编程接口HttpClientSmack库

LoginPIHttpClientSmack Library

付聪.基于Smack库与HttpClient登录的实现[EB/OL].(2009-02-04)[2025-08-22].http://www.paper.edu.cn/releasepaper/content/200902-60.点此复制

评论