SlideShare a Scribd company logo
Lab 5: Teams and Roles
Objectives
After completing this lab, you will be able to:
► Create a new role
► Create a JPetStore team
► Associate the team to the existing JPetStore application and environments
► Login as a JPetStore developer
Given
► The JPetStore app, db, web files located on the same server as the installed IBM UrbanCode
Deploy
Scenario
Authentication deals with verifying the user as he or she logs in; authorization deals with what rights the user has
once they are on the system.
When the IBM UrbanCode Deploy product is first set up internal user accounts are created and maintained within
the tool. In this lab you use authentication for a new user that logs into UrbanCode Deploy. Most active systems will
include an LDAP realm as well. Authorization is based on a set of roles, applied to a set of teams, applied to a set of
objects. Each role defines a set of actions. Each team contains of users, assigned to roles. Objects are things like
applications, environments, and components.
© Copyright IBM Corp. 2014 5 - 1
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Essentials of IBM UrbanCode Deploy — Student Workbook
Task 1: Create a new user in the internal security realm
2. From the top-level Settings tab, click on Security > Authentication (Users)
3. Click the Create User button and create a new user:
ID: ben
User Name: Ben Franklin
Password: ben
Task 1: Create a Developer role
4. In Security, open the Role Configuration tab. Click on Create New Role to create a role.
5 - 2 © Copyright IBM Corp. 2014
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Lab 5 – Teams and Roles
5. Click on the newly created Developer role and add the following actions:
a. Under Application, for the Standard Application select View Applications and select
Run Component Processes from the drop down selection list under Edit.
© Copyright IBM Corp. 2014 5 - 3
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Essentials of IBM UrbanCode Deploy — Student Workbook
b. Under Component, grant the View Components permission for the Standard
Component.
c. Under Environment, Create a New Type called QA Environment
d. Under Environment, grant Execute on Environments and View Environments to
Standard Environment.
e. Under Environment, grant View Environments to QA Environment.
5 - 4 © Copyright IBM Corp. 2014
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Lab 5 – Teams and Roles
f. Under Web UI, grant permissions to the first five tabs (through Deployment Calendar
Tab)
Task 1: Create the JPetStore Team
6. Still in Security, open the Teams tab. Create a new Team called JPetStore Team. You may drag and drop
by selecting Add Users & Groups.
© Copyright IBM Corp. 2014 5 - 5
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Essentials of IBM UrbanCode Deploy — Student Workbook
7. Add Ben to the JPetStore Team as a Developer.
8. Save the new team definition.
Task 1: Apply the team to the existing JPetStore application
9. Now apply the rules that have been defined to the existing application.
g. From Applications, select JPetStore. Select Configuration > Basic Settings.
h. Expand the Teams and Add the JPetStore Team. Click Add and Save.
5 - 6 © Copyright IBM Corp. 2014
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Lab 5 – Teams and Roles
Update the SIT environment to include JPetStore Team with a Standard Environment Role:
10. From Applications>JPetStore>SIT, select Configuration>Basic Settings. Click Add and Save.
Update the UAT environment to include the JPetStore Team with a QA Environment Role:
11. From Applications>JPetStore>UAT, select Configuration>Basic Settings. Click Add and Save.
© Copyright IBM Corp. 2014 5 - 7
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
Essentials of IBM UrbanCode Deploy — Student Workbook
Since the name of each environment is just a tag – the IBM UrbanCode Deploy system does not understand the
semantics of SIT versus UAT and using environment roles provides a way to define different security rules around
the environment type.
Task 1: Log in as a JPetStore Developer
12. Log out of IBM UrbanCode Deploy as admin by clicking Sign Out from the admin drop-down menu.
13. Log in with username Ben Franklin and password ben.
Notice fewer high-level tabs are available. This was done through configuring the Web UI. Notice also that,
although Ben can see UAT, and compare the content against other environments, he does not have the rights to do a
deployment.
5 - 8 © Copyright IBM Corp. 2014
Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

More Related Content

PPSX
Practical alm testing
PPT
OOP Objective Multiple Quiz System
PPTX
Modular enablement
PPSX
Virtual Gym Tutor B.Sc.I.T. Project by APOORV YADAV
PPTX
Fitness presentation
PDF
iks auf der ElipseCon 2011: Tickling the shoulders of giants
PPT
Application module slides
PPT
Resources Module slides
Practical alm testing
OOP Objective Multiple Quiz System
Modular enablement
Virtual Gym Tutor B.Sc.I.T. Project by APOORV YADAV
Fitness presentation
iks auf der ElipseCon 2011: Tickling the shoulders of giants
Application module slides
Resources Module slides

Viewers also liked (8)

DOC
Components lab
PPT
Home Worx
PPTX
Securitywebinar3 tph3
PPT
Components module slides
PPTX
Overview
PPT
Engineering Consulting - Continuous Improvement
DOC
Resourceslab fixed
PDF
Karim Baina Big Data ENSIAS December 2016
Components lab
Home Worx
Securitywebinar3 tph3
Components module slides
Overview
Engineering Consulting - Continuous Improvement
Resourceslab fixed
Karim Baina Big Data ENSIAS December 2016
Ad

Similar to Security lab (16)

DOC
Resource lab
PDF
Ibm urban code_deploy_v6_lab-workbook
DOC
Applications lab
DOC
Applications lab
DOC
Deployment module lab
PDF
Securing the Automation of Application Deployment with UrbanCode Deploy
DOC
Components lab
PPTX
UrbanCode Deploy course and product overview slides
PDF
Webcast urbancodemobiltomainframe
PDF
Product Overview: The New IBM UrbanCode Deploy 6.0
PPT
UCD components
PPT
Resources slides
PDF
Part 3 web development
PDF
IBM Collaboration Solutions Application Development - Frequently Asked Questions
PPT
Application slides
Resource lab
Ibm urban code_deploy_v6_lab-workbook
Applications lab
Applications lab
Deployment module lab
Securing the Automation of Application Deployment with UrbanCode Deploy
Components lab
UrbanCode Deploy course and product overview slides
Webcast urbancodemobiltomainframe
Product Overview: The New IBM UrbanCode Deploy 6.0
UCD components
Resources slides
Part 3 web development
IBM Collaboration Solutions Application Development - Frequently Asked Questions
Application slides
Ad

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PPTX
COMPUTERS AS DATA ANALYSIS IN PRECLINICAL DEVELOPMENT.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Pharma ospi slides which help in ospi learning
PDF
Open folder Downloads.pdf yes yes ges yes
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Insiders guide to clinical Medicine.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Cardiovascular Pharmacology for pharmacy students.pptx
PDF
Business Ethics Teaching Materials for college
PDF
Introduction-to-Social-Work-by-Leonora-Serafeca-De-Guzman-Group-2.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Cell Structure & Organelles in detailed.
COMPUTERS AS DATA ANALYSIS IN PRECLINICAL DEVELOPMENT.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
human mycosis Human fungal infections are called human mycosis..pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pharma ospi slides which help in ospi learning
Open folder Downloads.pdf yes yes ges yes
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
01-Introduction-to-Information-Management.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
STATICS OF THE RIGID BODIES Hibbelers.pdf
Insiders guide to clinical Medicine.pdf
GDM (1) (1).pptx small presentation for students
Basic Mud Logging Guide for educational purpose
Cardiovascular Pharmacology for pharmacy students.pptx
Business Ethics Teaching Materials for college
Introduction-to-Social-Work-by-Leonora-Serafeca-De-Guzman-Group-2.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF

Security lab

  • 1. Lab 5: Teams and Roles Objectives After completing this lab, you will be able to: ► Create a new role ► Create a JPetStore team ► Associate the team to the existing JPetStore application and environments ► Login as a JPetStore developer Given ► The JPetStore app, db, web files located on the same server as the installed IBM UrbanCode Deploy Scenario Authentication deals with verifying the user as he or she logs in; authorization deals with what rights the user has once they are on the system. When the IBM UrbanCode Deploy product is first set up internal user accounts are created and maintained within the tool. In this lab you use authentication for a new user that logs into UrbanCode Deploy. Most active systems will include an LDAP realm as well. Authorization is based on a set of roles, applied to a set of teams, applied to a set of objects. Each role defines a set of actions. Each team contains of users, assigned to roles. Objects are things like applications, environments, and components. © Copyright IBM Corp. 2014 5 - 1 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
  • 2. Essentials of IBM UrbanCode Deploy — Student Workbook Task 1: Create a new user in the internal security realm 2. From the top-level Settings tab, click on Security > Authentication (Users) 3. Click the Create User button and create a new user: ID: ben User Name: Ben Franklin Password: ben Task 1: Create a Developer role 4. In Security, open the Role Configuration tab. Click on Create New Role to create a role. 5 - 2 © Copyright IBM Corp. 2014 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
  • 3. Lab 5 – Teams and Roles 5. Click on the newly created Developer role and add the following actions: a. Under Application, for the Standard Application select View Applications and select Run Component Processes from the drop down selection list under Edit. © Copyright IBM Corp. 2014 5 - 3 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
  • 4. Essentials of IBM UrbanCode Deploy — Student Workbook b. Under Component, grant the View Components permission for the Standard Component. c. Under Environment, Create a New Type called QA Environment d. Under Environment, grant Execute on Environments and View Environments to Standard Environment. e. Under Environment, grant View Environments to QA Environment. 5 - 4 © Copyright IBM Corp. 2014 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
  • 5. Lab 5 – Teams and Roles f. Under Web UI, grant permissions to the first five tabs (through Deployment Calendar Tab) Task 1: Create the JPetStore Team 6. Still in Security, open the Teams tab. Create a new Team called JPetStore Team. You may drag and drop by selecting Add Users & Groups. © Copyright IBM Corp. 2014 5 - 5 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
  • 6. Essentials of IBM UrbanCode Deploy — Student Workbook 7. Add Ben to the JPetStore Team as a Developer. 8. Save the new team definition. Task 1: Apply the team to the existing JPetStore application 9. Now apply the rules that have been defined to the existing application. g. From Applications, select JPetStore. Select Configuration > Basic Settings. h. Expand the Teams and Add the JPetStore Team. Click Add and Save. 5 - 6 © Copyright IBM Corp. 2014 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
  • 7. Lab 5 – Teams and Roles Update the SIT environment to include JPetStore Team with a Standard Environment Role: 10. From Applications>JPetStore>SIT, select Configuration>Basic Settings. Click Add and Save. Update the UAT environment to include the JPetStore Team with a QA Environment Role: 11. From Applications>JPetStore>UAT, select Configuration>Basic Settings. Click Add and Save. © Copyright IBM Corp. 2014 5 - 7 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
  • 8. Essentials of IBM UrbanCode Deploy — Student Workbook Since the name of each environment is just a tag – the IBM UrbanCode Deploy system does not understand the semantics of SIT versus UAT and using environment roles provides a way to define different security rules around the environment type. Task 1: Log in as a JPetStore Developer 12. Log out of IBM UrbanCode Deploy as admin by clicking Sign Out from the admin drop-down menu. 13. Log in with username Ben Franklin and password ben. Notice fewer high-level tabs are available. This was done through configuring the Web UI. Notice also that, although Ben can see UAT, and compare the content against other environments, he does not have the rights to do a deployment. 5 - 8 © Copyright IBM Corp. 2014 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.