Server & Database Setting for the Login feature !
Server & Database Setting for the log in feature
We need to build up a basic setup for the database & server to efficiently help users' login activities and security.
로그인을 위한 데이터 베이스와 서버에 대한 기초적 세팅
우리는 사용자의 로그인 편의를 위해 서버와 데이터 베이스를 아래와 같이 세팅 해 두어야 한다.
package; Server
class; Auth : to identify ID & PW with 3 methods
method 1) acceessCtrl
purpose to receive ID/PW very first got an order from servercontroller
맨 처음 서버 컨트롤러에서 ID PW 받아 확인하는 작업
method 2) compareAccessCode
purpose to check the existence of ID through the DAO(DataAccessObject)
DAO 를 통해 ID 의 존재여부를 확인하는 작업
method 3) isAuth
purpose final check by comparing the ID & PW information with DB
ID PW 를 마지막으로 확인하는 작업.
package; Server
class; DataAccessObject: only to transfer the data as a transmitter.
with 3 methods
method 1) readmemebers
purpose to read and bring up the member information from DAO
method 2) writeAccessHistroy
purpose to leave the member's data in the database
package; Server
class; servercontroller:
purpose to make 1st order to other class
Coooool !!! lol
ReplyDelete