Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
THE Modifier
From
Unique ID Management
Software Requirements Specification
Version: . 1.0
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Team Guide: Dr. S. Abirami (Asst Prof. Department of Information Science and Technology)
ANNA UNIVERSITY CHENNAI
Members: Abhitabh Sinha Ashutosh Agrawal Madhukar Bharti Rajesh Kumar
COLL ROLL NO 2010202001 2010202010 2010272021 2010202044
College Name: Anna University, Chennai (College Of Engineering, Guindy)
Department:
State:
MCA
Tamilnadu
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Table of Contents
Description 1.0 Introduction 1.1 Purpose 1.2 Scope 1.3 Definitions, Agronomy and Abbreviations 1.4 References 1.5 Technologies to be used 1.6 Overview 2.0 Overall Description 2.1 Product Perspective 2.2 Software Interface 2.3 Hardware Interface 2.4 Communication interface 2.5 Product function 2.6 User Characteristics 2.7 Constraints 2.8 Architectural Design 2.9 Use Case Model Description 2.10 Class Diagram 2.10.1 Sequence Diagram 2.10.2 Activity Diagram 2.11 Database Design 2.11.1 ER Diagram 2.11.2 Schema 2.12 Assumptions and Dependencies 3.0 Specific Requirements 3.1 Use Case Reports 3.2 Supplementary Requirements Page 1 3 4 4 5 7 11 12 12 13 13 14 14 14 15 16 18 19 25 32 32 33 34 35 35 39
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Software Requirements Specification
1.0 Introduction
Unique Identification System is a system in which every citizen of a country will have a Unique Identification Number which would not just help the government to track down the individuals, but would make life far easier for citizens as they would not have to submit multiple documents each time they want to avail a new servicepublic private, government, regulatory authority or law-enforcement agency. This system will contain details of citizens like the name, sex, address, marital status, photo, identification mark and face. UID System provides facility to the officers to verify citizens and can access those details based on the requirement it prevents un-necessary access by them.
1.1 Purpose
UID management system is a web based application which helps to maintain the details of the citizens and issuing the Unique ID while providing him/her a birth certificate. This System also provides them to minimize the overhead of submission of multiple documents while getting new services from the public, private or government. A citizen after completing their 18 yrs of age he/she must register to the RTO office to get the password to access the site. The ID card will be given to every citizen after registering and they require changing the password after that. This system also provides the facility to pay their electricity bill and telephone bill, book railway tickets and airline tickets and pay their taxes. During elections they can poll online.
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
1.2 Scope
There are four different users of the system- Citizens (age over 18yrs), Government officers, moderator and admin. All users have their own access privilege and based on that they can perform work on this system. An authorized citizen can only view their information and for any information updates he/she has to approach the officials to get approval. Officials can access a users information in demand only they are prohibited to unnecessary access of any users details. Moderator can have access to details of all the users. He can modify the entire database. Admin has the authority to add/delete moderators and can modify the entire coding and structure of the system. He can also generate reports.
1.3 Definitions, Acronyms and Abbreviations
UID: Unique Identification Admin: Administrator has the authority to add/delete moderators and can modify the entire coding and structure of the system. WASCE: WebSphere Application Server Community Edition. It is an application server that runs and supports J2EE and web service applications. DB2: Database 2 Express C version 2.0. A database management system that provides a flexible and efficient database platform to maintain records of citizens, moderator, admin. JSP:
5
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Java Server page. All web pages are build using JSP. J2EE: Java Enterprise Edition UML: Unified Modeling Language (UML) is a standardized generalpurpose modeling language in the field of object oriented software engineering. The standard is managed, and was created, by the Object Management Group .The Unified Modeling Language (UML) is used to specify, visualize, modify, construct and document the artifacts of an object-oriented software-intensive system under development. XML: Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both humanreadable and machine-readable. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards. SSL: Secure Socket Layer (SSL) is a Protocol for encrypting the information over the internet. HTML: Hyper Text markup Language is a Language used to create static web pages. HTTP: The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web.
1.4 References
Applying UML and Patterns by Craig Larman IBM tutorials for RAD and WSACE tools Sun Certified Web Component Developer. Java- Black Book.
6
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Java-Complete Reference by Herbert Schield. Head First JSP and Servlets. Wiki Materials Tutorials
1.5 Technologies to be used
Application architecture JAVA, J2EE Java is an object-oriented programming language developed by Sun Microsystems a company best known for its high end UNIX workstations. The key that allows Java to solve both the security and the portability problems just described is that the output of a Java compiler is not executable code. Rather, it is Byte code. Byte code is a highly optimized set of instructions designed to be executed by the Java runtime systems, which is called the Java Virtual Machine (JVM). The main properties of the Java, which made Java so popular, are as follows: Simple Secure Portable Object-Oriented Robust Multithreaded Architecture-Neutral Interpreted High performance Distributed and Dynamic J2EE: Java 2 Enterprise Edition (J2EE) provides an object-oriented, distributed and cross-platform framework for developing and deploying robust, secure and scalable, E-Business and E-Commerce applications. J2EE enables efficient development of enterprise applications, while leveraging investments in existing business resources such as Database Systems, Messaging Systems and Naming
7
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
and Directory Services. Using J2EE, enterprise developers may implement business objects using the Enterprise JavaBeans (EJB) technology and deploy them across a wide range of J2EE compliant application servers. Enterprise developers may also build sophisticated clients for their E-Business applications using the Java Servlet, Java Server Pages (JSP), XML or the Java Applet technologies. These clients may be packaged and deployed on a Web Container. J2EE enables component-based development of both the business logic and the presentation logic. Using this approach, enables the development of thin HTML, DHTML and JavaScript based clients. J2EE also supports the development of complex clients as regular Java applications and applets. The J2EE platform provides access to a host of enterprise services using welldefined and standard Java Enterprise APIs that are listed below. Enterprise JavaBeans (EJB) extensible Markup Language (XML) Servlets Java Server Pages (JSP) Java Messaging Service (JMS) Java Database Connectivity (JDBC) JavaMail JavaIDL Java Naming and Directory Interface (JNDI) Java RMI/IIOP Java Transaction Services (JTS) and Java Transaction API (JTA) RAD RATIONAL APPLICATON DEVELOPER(RAD) Optimized for the latest IBM WebSphere Application Server and IBM WebSphere Portal Server products and includes test environments for these products.Java EE 6 with JPA 2.0 and EJB 3.1 support for simpler development enterprise applications through RAD. Build dynamic, easily manageable, modular applications with support for OSGi.
8
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Accelerated Web 2.0 development capabilities to build Rich Internet Applications with Ajax, dojo and REST services. Build robust, scalable, and reusable Service Oriented Architectures with support for Service Component Architecture. Improve application quality with developer test and analysis tools to find and fix problems early. WebSphere Application Server unit test environments: v6.0 (remote), v.6.1, v7.0, v8.0 . Compatible WebSphere Portal Server unit test environments: v6.1, v7.0 Supports both local and remote test servers Support for WebSphere Feature Packs: Web 2.0, OSGi, JPA 2.0, SCA, XML, CEA, Web Services, EJB 3.0 Feature Packs Support for building SIP 1.1 (JSR 289), GSMA OneAPI, Parlay X enabled applications with WebSphere Telecom Web Services Server Toolkit WebSphere performance profiling and logging Test environment for HTML and JSP files, servlets EJB universal test client Ant scripting and JUnit testing framework TCP/IP Monitor to monitor requests and responses between a browser and an application server Automated tools to manage server instances and server configurations, including automated creation and submission of wsadmin scripts Test different run-time environments locally or remotely. DB2: DB2 is a family of relational database management system (RDBMS) products from IBM that serve a number of different operating system platforms. DB2 leads in terms of database market share and performance. Although DB2 products are offered for UNIX-based systems and personal computer operating systems, DB2 trails Oracle's database products in UNIX-based systems and Microsoft's Access in Windows systems. DB2 is IBM's relational database management system. It runs on multiple platforms including Windows, Unix, VM, VSE, and z/OS. It provides the interface for programs to access data through SQL. It can provide security for data and has utilities to maintain the data . DB2 can be administered from either the command-line or a GUI. The command-line interface requires more knowledge of the product but can be more
9
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
easily scripted and automated. The GUI is a multi-platform Java client that contains a variety of wizards suitable for novice users. DB2 supports both SQL and XQuery. DB2 has native implementation of XML data storage, where XML data is stored as XML (not as relational data or CLOB data) for faster access using XQuery. DB2 has APIs for REXX, PL/I, COBOL, RPG, FORTRAN, C++, C, Delphi, .NET CLI, Java, Python, Perl, PHP, Ruby, and many other programming languages. DB2 also supports integration into the Eclipse and Visual Studio integrated development environments. Greater concurrency for data management, data definition, and data Access, including DDL, BIND, REBIND, PREPARE, utilities, and SQL Additional online changes for data definitions, utilities, and subsystems Improved security with better granularity for administrative privileges, Data masking, and audit capabilities Temporal or versioned data to understand system and business times at the database level (Bi-temporal feature is not available on Oracle or any other competing RDBMS products). Pure XML and SQL enhancements to simplify portability from other database solutions Productivity improved for database administrators, application Programmers and systems administrators QMF Classic Edition, an optional for-charge feature, providing greater interoperability with other programs plus improved queries, forms, Diagnostics, performance, and resource control QMF Enterprise Edition, an optional for-charge feature, supporting QMF based dashboards with visually rich page-based reports, an enhanced security model, support for HTML, PDF, or Flash QMF report and dashboard outputs and simplified content authoring.
10
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
WEB SPEHERE APPLICATION
WAS is built using open standards such as Java EE, XML, and Web Services. It is supported on the following platforms: Windows, AIX, Linux, Solaris, i/OS and z/OS. Beginning with Version 6.1 and now into Version 8, the open standard specifications are aligned and common across all the platforms. Platform exploitation, to the extent it takes place, is done below the open standard specification line. It works with a number of Web servers including Apache HTTP Server, Netscape Enterprise Server, Microsoft Internet Information Services (IIS), IBM HTTP Server for i5/OS, IBM HTTP Server for z/OS, and IBM HTTP Server for AIX/Linux/Microsoft Windows/Solaris. Functions in the web services feature pack include: Asynchronous programming model (Limited functional support) Multiple Payload structures StAX (Streaming API for XML) WS-RM (Limited functional support) Support for (OASIS specified) WS-Security 1.0. WS-Addressing (Limited functional support) JAX-B support Policy Set (Limited functional support) Secured thin client (Limited functional support) SOAP (protocol) Message Transmission Optimization Mechanism (MTOM) Supports CGI and CORBA 1.6 Overview Proposed System: Issuing Unique Identity number to every citizen Reducing the overhead of paper submission for each new service either from public or private organizations. Facilitate citizens to pay bills online Provides facility to cast online vote during elections Facility to store the record of criminal activity
11
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Our Plan: Provide citizen details registration Online tracing of citizen information by any authorized user from anywhere. Provides interface for bill payment, reservations and other services.
2.1 Product Perspective
UID Management system consists of three main components. The user interface component handles all of the input or requests from the Citizen/Administrator/Govt. Officers, second one is the WebSphere web server which will handle all the request incoming from browser in http request and provides services to those request. This component also having the facility to communicate with its 3rd component which is the database. Management of the data includes adding, deleting, and modifying citizen details, bill payment details etc. The database component stores all of the admin/citizen/govt. officers informational data and status. UID Management System communicates with the Internet to provide different services to public, private organizations.
Communicate Via Internet
User Interfac e
WebSphere Application Server
DB2 Database
12
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
2.2 Software Interface Client on internet:
Web Browser, Operating systems (any)
Client on intranet
Web Browser, Operating systems (any)
Web Server
WASCE, Operating System (any)
Data Base Server
DB2, Operating System (any)
Development End
Eclipse (java, j2EE, HTML, XML, servlets, AJAX), DB2, OS (Windows), Web Sphere. 2.3 Hardware Interface Minimum Requirements:
Client side RAM PROCESSOR INTERNET EXPLORER 6 128 MB P4 PROCESSOR OR HIGHER VERSION RAM
DISK SPACE 250 MB
Server Side RAD DB2 INTEL 3.4 G Hz P4 INTEL 3.4 G Hz P4
13
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
2.4 Communication Interface
Client uses HTTP/HTTPS Protocol.
Server uses HTTP/HTTPS Protocol. 2.5 Product Functions
Unique Identity Management System will manage the Profile of an individual, thereby providing them various facilities such as Bill payments, tickets booking, Filing requests for ration cards, passports, and driving Licenses.
2.6 User Characteristics
Users of the systems are a normal Citizen, may be a registered member or a new user who seek permission to register. Government officials who will verify and validate the various information require at various stages of the management process. Moderator who is responsible for making updates, if any changes in the databases. Admin, who will keep watch on the various activities being performed in the system. He/ She will have control over the activities being performed in the system.
2.7 Constraints 1. GUI should be in English 2. The system is working for single server. 3. Login interface is provided for the registered user and a registration
interface for the new user.
14
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
2.8 Architectural Design
15
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
2.9 Use Case Model Survey Overall Use case
ELECTRIC BILL
PHONE BILL
RAILWAY TICKET AIRLINES TICKET
VERIFY CITIZEN DETAILS REPORT CRIME ACTIVIY
<<extend>>
<<extend>> <<extend>> <<extend>>
AUTHENTICATION SERVER APPROVE CITIZEN DETAILS SEND APPROVAL REPORT
BILL PAYMENT BOOK TICKET
PAY TAXES POLLING
GOVT.OFFICIAL
ISSUE VEHICLE LICENSE
ISSUE PASSPORT,VISA REQUEST FOR AUTHENTICATION
CITIZEN REGISTRATION
ACCESS CITIZEN DETAILS
REQUEST FOR UPDATION
AUTHENTICATES
DEMAND FOR CITIZEN DETAILS
VIEW CITIZEN DETAILS
SEND NOTIFICATION
MODERATOR UPDATE RECORD
HANDLE CITIZEN REQUEST
ADMIN
PERMISSION
ASK FOR SERVICE VIEW OFFICIAL PAGES
CHANGE ENTIRE CODING
MODIFY SYSTEM STRUCTURE
ADD MODERATOR
GENERATE REPORTS
CHANGE DETAILS
16
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Citizen: Every citizen can login and access their information page. For any information update they must approach corresponding office to get approval. Govt. Officer: Authorized security persons in police, army, and airlines should given a unique ID and password to access the Security officials page which give access to information of all users. Admin: Admin can modify the entire coding and structure of the system. Moderator: Moderator can have access to details of all the users. He can modify the entire database.
17
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
2.10 Class Diagram
18
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
2.10.1 Sequence diagrams LOGIN:
:Citizen :Registration :RegisterDB
prompt() register() Save() Generate_uid() return_uid() return_uid()
19
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
LOGIN CHECK:
:Citizen/Admin/Moderator/ Govt.Empl
:Login
:LoginDB
Login_prompt() LoginDetails() checkDetails() loginDetails() VerifyLogin() loginStatus() loginStatus()
20
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Electric Bill Payment
:Citizen
:ElectricBillPay
:CardDB
:ElectricBillDB
PromptBillEntry() PaymentDet()
verifyDetails()
promptBillOnInvalid()
cardDetails() verifyCard()
payBill() recptDetails() recptDetails() recptDetails()
21
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Citizen Profile Update:
:Citizen
:Profile
:Moderator
:GovtOfficial
:ProfileDB
updateProfilePro...
updationDetails()
updationRequest() verificationRequest() verifyDetails()
verificationResult() checkResult()
updateProfile() saveRetun() notifyCitizenAfterUpdate()
22
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Crime Report:
:GovtOfficer :CrimeReport :CrimeTable
crimeReportPrompt()
crimeDetails() verifyUIFields()
crimeDetails_govtOffDet() returnSaveStatus() returnStatus()
Add Moderator:
:Admin :Moderator :ModeratorDB
moderatorAddPrompt()
newModeratorDetails()
verifyUIFileds()
moderartorDet()
sav eStatus() sav eStatus()
23
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Admin activity
:Admin
ChangeDBDesign
:ModeratorInfo
Reports
changeDB()
ModeratorHandleRequest() ModeratorHandleUI()
reportsUIRequest() reportsUIHandle()
24
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
2.10.2 Activity Diagram Government Services:
25
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Login Process:
26
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Payment Process:
27
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Password Issue:
28
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Polling Process:
29
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
Reservation Process:
30
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
UID Generation:
31
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
2.11 Database Design
2.11.1 E R Diagram
32
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
2.10.2 Database Design
33
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
2.12 Assumptions and Dependency Although basic password authentication and role based security mechanisms will be used to protect UIDMS from unauthorized access; functionality such as email notifications are assumed to be sufficiently protected under the existing security policies applied by the UID Issuing Authority Admin. Redundant Database is setup as the role of backup Database Server when primary database is failure. The correct functioning of UIDMS will partly be dependent on the correctness of the data stored and managed as part of the UIDMS system. Also, the application will be hosted by the Web server as one of application; the event of the server failing due to an error with one of these applications might result in UIDMS becoming temporarily unavailable.
34
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
3.0 Specific Requirements 3.1 Use Case Reports
Citizen
include Update Profile Interact With Moderator
Register
extend
Send Mail View Profile Change Password
Receive Notification
File Complaint
extend
CITIZEN Withdraw Complaint Administrator Login Give Feedback Search include Avail Service include Payment/Bills extend Tax Pay extend Electric Bill extend
include Voting include extend Reservation Services extend
Telephone Bill
Rail Ticket View Rules/Regulation Passport/Visa service
Airline Ticket Vehicle License/PAN Service
Use Case Login Register
Description It takes username and password for authentication and performing any operation in the system. Apply for issuing Unique Id Number
35
Unique ID management Software Requirements Specification The Modifier
View Profile Change Password Voting Reservation Bill Payment Update Profile Can view profile
Version 29 January 2012
Facilitate to change password Can Poll Online during election Having facility to interact with online reservation system either railway or Airplane It deals with all type of bill payments regarding a citizen For Update profile of citizen
GOVT. SECURITY OFFICIAL:
Administrator
register Access Information of User Verify Details of Person Process Query
Login
Send Report
Govt_Security
Check Users' Criminal Activity
Send Mail Get Notification Create Crime Report Allow/Restrict Person include
Interact with Moderator
36
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
MODERATOR:
Administrator include
Send Mail Process Query Receive Information
Register Access Users' Details
Moderator
Login
Modify Database
Issue UID and Password
Request For Service
Give Permission To Official
Take an Action View Profile Get Approval Report extend Send Notification
Update Profile
37
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
ADMIN:
Receive Message Send Mail extend
Update Profile
Generate Report View Profile View Reports
Administrator
Login
Authenticate User/Moderator/Official
Delete Person
View Complaints Approve/Discard Request include Search
extend Take Action Take Backup extend Reject Complaints
Change Coding and Structure Reply to Complaints View Logs
38
Unique ID management Software Requirements Specification The Modifier
Version 29 January 2012
3.2 Supplementary
Special Thanks
We convey a special thanks to our department and to our college. We also convey a special thanks to all these softwares and websites, they have been helping a lot in doing the project.
39