WaveMaker Visual AJAX Studio 4.0 Training Authentication.

Slides:



Advertisements
Similar presentations
PHP SQL. Connection code:- mysql_connect("server", "username", "password"); Connect to the Database Server with the authorised user and password. Eg $connect.
Advertisements

Managing Your Organisation’s Portal Team Account Tutorial 7.
WaveMaker Visual AJAX Studio 4.0 Training
Tutorial EBSCOadmin User Groups support.ebsco.com.
Forms Authentication, Users, Roles, Membership Ventsislav Popov Crossroad Ltd.
® IBM Software Group © 2006 IBM Corporation Securing Your Application With WebSphere Security You will need to develop Login procedures for your web applications.
10.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
XP Tutorial 9 New Perspectives on JavaScript, Comprehensive1 Working with Cookies Managing Data in a Web Site Using JavaScript Cookies.
Web based testing: Chucklist and Selenium
Building a Deployment The following screens demonstrate how to: 1. Create a new OpenHRE™ tailor-made deployment using a remote (sample) deployment Standard.
Authenticating REST/Mobile clients using LDAP and OERealm
Deployment Management The following screens demonstrate how to: 1. Access and view deployments 2. Create a new local deployment 3. Create and modify a.
Sql Server Advanced Features MIS 424 Professor Sandvig.
Branded Websites. Branded Website Training Click the “Edit Pencil” to edit the website Enter in your iBoomerang username and password.
WaveMaker Visual AJAX Studio 4.0 Training Studio Overview.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting Cookies & Sessions.
Classroom User Training June 29, 2005 Presented by:
Forms Authentication, Users, Roles, Membership Svetlin Nakov Telerik Corporation
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Global Customer Partnership Council Forum | 2008 | November 18 1IBM - GCPC MeetingIBM - GCPC Meeting IBM Lotus® Sametime® Meeting Server Deployment and.
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Copyright 2000 eMation SECURITY - Controlling Data Access with
© 2003 By Default! A Free sample background from Slide 1 Week 2  Free PHP Hosting Setup  PHP Backend  Backend Security 
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
COMP3121 E-Commerce Technologies Richard Henson University of Worcester November 2011.
IS 221: DATABASE ADMINISTRATION Lecture 6:Create Users & Manage Users. Information Systems Department 1.
Oracle Application Express Security. © 2009 Oracle Corporation Authentication Out-of-the-Box Pre-Configured Schemes LDAP Directory credentials Oracle.
SYST Web Technologies SYST Web Technologies Databases & MySQL.
Drinking Water Infrastructure Needs Survey and Assessment 2007 Training.
TWSd - Security Workshop Part I of III T302 Tuesday, 4/20/2010 TWS Distributed & Mainframe User Education April 18-21, 2010  Carefree Resort  Carefree,
Session Objectives • Login to PeopleSoft Test Framework(PTF)
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
Damian Tamayo Tutorial DTM Data Generator Fall 2008 CIS 764.
Diagnostic Pathfinder for Instructors. Diagnostic Pathfinder Local File vs. Database Normal operations Expert operations Admin operations.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Binding Basics.
LDAP Authentication Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
DATABASE TOOLS CS 260 Database Systems. Overview  Database accounts  Oracle SQL Developer  MySQL Workbench.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 25.1 Test-Driving the ATM Application 25.2.
 Registry itself is easy and straightforward in implementation  The objects of registry are actually complicated to store and manage  Objects of Registry.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
How I spend my money Software architecture course Mohan, Maxim.
Implementing and Using the SIRWEB Interface Setup of the CGI script and web procfile Connecting to your database using HTML Retrieving data using the CGI.
WaveMaker Visual AJAX Studio 4.0 Training Pages, Layers and Navigation.
WaveMaker Visual AJAX Studio 4.0 Training Java Script Events.
PaymentNet: Approvers Procurement Services Laurie Krauel.
Oracle Business Intelligence Foundation – Testing and Deploying OBI Repository.
WaveMaker Visual AJAX Studio 4.0 Training Role Based Access Control.
WaveMaker Visual AJAX Studio 4.0 Training Styling your application.
Installing and Configuring Moodle. Download Download latest Windows Install package from Moodle.orgMoodle.org.
19 Copyright © 2008, Oracle. All rights reserved. Security.
Presented by [Harshit Agrawal] 04/03/2017
Project Management: Messages
Adding direct links to online archives from your VLE
Configuring ALSMS Remote Navigation
An authorized user can make payments on your account by logging on with their own username and password. Click on the Authorized Users tab to add an authorized.
Jkelany Chat Project.
Data Virtualization Tutorial… LDAP Domains in CIS
Chapter 11: Managing Users
Guided By: WpglobalsupportWpglobalsupport WordPress: Adding the WordPress Logout Link to Navigation Menu Guided by: wpglobalsupportwpglobalsupport.
Selenium HP Web Test Tool Training
SOP of System Security Settings
PCW-09 Vision: Information Center Approval System
Wings 2.0 Business Flow Reference
Getting Started With LastPass Enterprise
Presentation transcript:

WaveMaker Visual AJAX Studio 4.0 Training Authentication

2 How to enable authentication ● Users can be authenticated in many ways depending on the particular environment ● Out of the box there are 2 primary authentications methods for production applications –Database Authentication –User names and pass words are stored in a DB –LDAP or Active Directory Authentication –User names and pass words are stored in a Directory Server ● A Demo authentication mechanism is provided for prototype and non-production use ● Additionally the underlying architecture (ACEGI) is an extensible security model

3 How to enable authentication ● Open Security editor ● Select Security Provider –Demo –Database –LDAP ● Check Enable Security ● Check Show Login Page ● Click Save Security Settings

4 Using Database authentication ● Database which stores username/password must be imported. ● Username and Password must stored as different columns in the same table ● Roles will be discussed later

5 Using Database authentication ● Security Provider: Set to Database ● Enable Security: Allows you to turn authentication on and off during development ● Show Login Page: Allows use of generated login page or you can use API’s to authenticate users behind the scenes (i.e. Using Cookies or other SSO) ● Username Field: Used at Login time ● Username ID Field: The ID field for the username can be used to query for additional information ● Password Field: Password field ● Roles Field: More on this later

6 Using Database authentication ● Once you save the settings a few things happen –An internal security service is added to the application (more on this in a moment) –A log in page is created and added to your project. –Do not change the page name –You can change the fields, style etc of the page

7 Using Database authentication ● Test Run your application ● Users must enter a valid Username / Password combination –Authentication errors are handled by the login page by default. –Login button executed JavaScript to call the Login function. –Can edit the script via source tab to change the error messages

8 Using LDAP or AD authentication ● LDAP Connection parameters: These can be tricky, work with your LDAP Admin –LDAP URL – specify the host name and port number of the LDAP server –Manager DN - distinguished name for LDAP access account –Manager Password – password for LDAP access account –User DN Pattern – pattern used to create a distinguished name for the user; should be the name relative to the root DN; argument {0} will contain the username

9 Using Demo authentication ● Use the Demo data source for non-production authentication ● Quickly add and remove usernames/passwords for testing ● Before deployment, change to a more secure authentication data source

10 Calling the Security Service ● If security is enabled, WaveMaker adds the Security Service to the project ● You can access the Security Service and it’s common operations using ServiceVariables –getUserName – returns the current user that is logged in –getUserRoles – returns a list of all user roles in the project –isAuthenticated – takes a username as the argument and returns a Boolean –logout – logs out the current user and terminates the session

11 Adding a Logout Button ● Create a Logout Button –Add a Button to your page –Create a New ServiceVariable –name: logout –service: securityService –operation: logout –Set the Button’s onclick event to logout ● When the Button is clicked, the user will be logged out and the session ended BUT the application will be open on the same page with functionality disabled ● To return to the login page you can set the LogoutServices onResult event to go to the Login page using a Navigation Service Call.

12 Calling the Login Page ● Once a user has logged out you will want to reload the login page –Add a New Navigation: gotoLoginPage –The logoutService has an event called onResult set it to gotoLoginPage

13 FYI: Live Layout disable with authentication ● Live Layout cannot run if security is enabled ● Enable security just before a test run of the project ● Disable security while designing

14 Questions?

15 Exercise 10 ● Enable security ● Add Roles and Users ● Test Authentication ● Add Logout Button