Chris Hyzer University of Pennsylvania

Slides:



Advertisements
Similar presentations
Grouper Training End Users Lite UI – External Users
Advertisements

Grouper API - Part 2 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported.
Grouper UI Part 2 Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.
Grouper Training - Admin Loader - Part 1 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial.
Grouper Maintenance Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.
Grouper Training End Users Lite UI – Permissions – Part 2 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons.
What is MySQL? MySQL is a relational database management system (A relational database stores data in separate tables rather than putting all the data.
ORACLE Lecture 1: Oracle 11g Introduction & Installation.
Multiple Tiers in Action
JDBC. In This Class We Will Cover: What SQL is What ODBC is What JDBC is JDBC basics Introduction to advanced JDBC topics.
Attribute databases. GIS Definition Diagram Output Query Results.
1 Foundations of Software Design Lecture 27: Java Database Programming Marti Hearst Fall 2002.
What is Asset Bank? Asset Bank is an enterprise-scale Digital Asset Management system A fully searchable, categorised library of digital images, videos.
Grouper Training Developers and Architects How to Design Permissions Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial.
Grouper Training End Users Admin UI – Part 6 Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported.
Session-01. Hibernate Framework ? Why we use Hibernate ?
Setting up the Grouper and Signet Databases Joy Veronneau Cornell University Identity Management November 7, 2006.
Grouper UI Part 1 Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
Apereo Grouper Seminar Part 2 – Penn and Grouper Chris Hyzer University of Pennsylvania and Internet2.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Grouper Training End Users Admin UI – Part 5 Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported.
IAM Online - Grouper Permissions Chris Hyzer University of Pennsylvania / Internet2 September 14, /14/20151.
Grouper Training - Admin - WS - Part 2 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial.
Fundamentals of Information Systems, Fifth Edition
Grouper Training - Admin - Client Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial.
Penn Groups PennGroups Central Authorization System June 2009.
Intro to Grouper There’s nothing fishy about Identity Management with Grouper.
Grouper Training Developers and Architects Web Services - Part 5 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons.
Grouper Training Developers and Architects Client - Part 1 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons.
Grouper Training Developers and Architects Advanced Topics Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons.
Chris Wright Senior Systems Engineer, Lucity MOVING TO ONE DATABASE FOR SQL SERVER.
Grouper Training End Users Admin UI – Part 4 Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported.
Grouper Training - Admin Connectors Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial.
Grouper Training Developers and Architects Client - Part 2 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons.
Ganymede Simultaneous Release | © 2008 by Springsite B.V., The Netherlands made available under the EPL v1.0 Teneo Ganymede Simultaneous Release.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
1 Introduction to Web Applications & APIs. 2 Agenda  Architecture of Web Applications Three layer architecture  Web Server (Tomcat) Installation Data.
DATABASE CONNECTIVITY TO MYSQL. Introduction =>A real life application needs to manipulate data stored in a Database. =>A database is a collection of.
Grouper Training Developers and Architects Integration Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial.
Grouper Training – Admin – Subject API – Part 4 Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial 3.0.
Dr. David Roldán Martínez Universidad Politécnica de Valencia, Spain & Nuno Fernandes Universidade Fernando Pessoa, Portugal Site Stats, the power of event.
JDBC CS 260 Database Systems. Overview  Introduction  JDBC driver types  Eclipse project setup  Programming with JDBC  Prepared statements  SQL.
Grouper Training Developers and Architects Client - Part 3 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons.
Grouper Training – Admin – Provisioning Service Provider (PSP) – Part 1 Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial.
Grouper Multiple Deployments and Upgrading Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported.
Apereo Grouper Seminar Part 3 – Hands on Grouper Chris Hyzer University of Pennsylvania and Internet2.
Grouper Training End Users Lite UI – Memberships – Part 2 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons.
Grouper Training Developers and Architects How to Design Groups Shilen Patel Duke University This work licensed under a Creative Commons Attribution-NonCommercial.
What’s new with Grouper 26-April-2010, Spring Member Meeting Chris Hyzer, Grouper developer.
Grouper Training Admin Minor Upgrade Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial.
Grouper Training - Admin - Installer Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial.
Grouper Training Developers and Architects Web Services - Part 4 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons.
Google Code Libraries Dima Ionut Daniel. Contents What is Google Code? LDAPBeans Object-ldap-mapping Ldap-ODM Bug4j jOOR Rapa jongo Conclusion Bibliography.
Grouper Training Developers and Architects Web Services - Part 1 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
MESA A Simple Microarray Data Management Server. General MESA is a prototype web-based database solution for the massive amounts of initial data generated.
Grouper Training - Admin - WS - Part 1 Chris Hyzer Internet2 University of Pennsylvania This work licensed under a Creative Commons Attribution-NonCommercial.
Cameron Blashka | Informer Implementation Specialist
Fundamental of Databases
Shared Services with Spotfire
Overall Architecture and Component Model
PHP / MySQL Introduction
MSIS 655 Advanced Business Applications Programming
Grouper Training End Users Lite UI – Permissions – Part 3
Grouper Training Developers and Architects Web Services - Part 2
Grouper Training End Users Lite UI – Permissions – Part 1
Grouper Training End Users Lite UI – Rules
David Cleverly – Development Lead
Web Application Development Using PHP
Presentation transcript:

Chris Hyzer University of Pennsylvania Grouper API part 1 Chris Hyzer University of Pennsylvania

Contents Overview of the Grouper API Versioning Download Databases Grouper Loader DDL Quickstart data

Grouper components as of v2.0 January 2012

Overview of the Grouper API The Grouper registry is the database tables where the Grouper data lives The Grouper API is the grouper.jar (and dependent jars) and config files that query and manipulate the Grouper registry The Grouper API is a dependent component to the UI, WS, Grouper Loader (daemons), and LDAPPC-NG

Overview of the Grouper API (continued) The Grouper API can run in multiple places for the same registry The Grouper Java API (from grouper.jar) is also referred to as the Grouper API

Versioning Grouper API versioning is a three number system Example: 2 is the major version number 0 is the minor version 3 is the build number

Versioning (continued) Only bug fixes and small impact enhancements will be put in next build number of a major/minor release Generally a substantial release (new major or minor number) is done yearly

Versioning (continued) All components of Grouper are released at the same time with the same version number Note: the Provisioning Service Provider is not on the same release schedule as other Grouper components If you are upgrading Grouper, it is generally a good idea to upgrade all Grouper components together For each major/minor release, refer to the Upgrade instructions List of environment changes

Versioning for Web Services Grouper WS are versioned Each request sends the protocol version that is expected to be returned Grouper WS are backwards compatible Clients do not need to be upgraded when the server is

Download Grouper packages of all official versions are hosted on the Grouper web server linked from: http://www.internet2.edu/grouper/software.html If you download the Grouper Installer, it can download most other packages for you Some Grouper packages are hosted on Maven's central repository

Databases Grouper uses the open source Hibernate library for Java / SQL persistence Generally Grouper supports all the databases that Hibernate supports, as long as it supports: Transactions Large indexes Complex SQL queries

Databases (continued) It is best if you use Oracle, MySQL, or Postgres Grouper is also tested with SQL server, though its indexes can be problematic It is unsupported to use another database except HQL in development

Grouper Loader The Grouper Loader can keep groups in sync with SQL databases or LDAP The Grouper Loader is compatible with any SQL database that you have a Java driver for (it does not have to be the Grouper registry database) The Grouper Loader uses simple SQL and not hibernate Generally it is a good idea to keep your Loader query in a database view

grouper.hibernate.properties config file

Database DDL DDL is Data Definition Language This is the SQL that creates the database objects (tables, views, indexes, etc.) used by Grouper DDL is not standard across database vendors Hibernate does not give fine-grained control of DDL

Database DDL (continued) Grouper uses Jakarta DDLUtils to generate DDL for each database vendor You can run a GSH command to initialize or upgrade the DDL in your database Grouper will analyze the database to upgrade it Follow the Grouper upgrade instructions carefully

Database DDL (continued) Grouper GSH can either: Init/upgrade the registry for you -or- Generate a script that you can review The Grouper GSH DDL command can also run SQL to affect the data in the database on upgrades

Database DDL continued C:\mchyzer\grouper\trunk\grouper\bin>gsh -registry -runscript

Database DDL (continued) C:\mchyzer\grouper\trunk\grouper\bin>gsh -registry -check

Quickstart data There are quickstart users for a SQL datasource There is an export of a quickstart project that you can import into your registry to have sample groups, etc. The Grouper Installer or GSH can install the quickstart users and data for you The quickstart users need to be resolvable before the quickstart data can be loaded

Quickstart data (continued)

Quickstart data (continued) C:\mchyzer\grouper\trunk\grouper\bin>gsh -registry -runsqlfile subjects.sql

Quickstart data (continued) C:\mchyzer\grouper\trunk\grouper\bin>gsh -registry -runsqlfile subjects.sql

Quickstart data (continued) C:\mchyzer\grouper\trunk\grouper\bin>gsh -registry -runsqlfile subjects.sql

Quickstart data (continued) C:\mchyzer\grouper\trunk\grouper\bin>gsh -registry -runsqlfile subjects.sql

Quiz Click on the quiz link in the Youtube video description to reinforce your knowledge of this topic

Thanks! Further information: Infosheets, mail lists, wiki, downloads, etc: www.internet2.edu/grouper Grouper demo server: https://grouperdemo.internet2.edu/