[Music] well hi welcome back we're in module 2 now my name is tim bell and um i'm going to be walking you through this again i'm a gs consultant which means i'm a consultant in global services at liferay and so now we're going to get into a little bit more detail about library dxp and it's still basic but it's going to be helpful so this module is about importing and managing user accounts if that's not already self-explanatory why you would want to do that it will become very clear shortly let's go ahead and talk about
what are our objectives going to be for this module so the first one is to be able to import users from existing systems that you might already have if you're a business without losing any of that data we want to transfer all of that data into the liferay dxp platform and secondly we want to be able to organize the users and life ray into different structures that match what's going on in our company as well as any individual teams or groups that might be in our company that could cut across departments we will complete those
objectives by several tasks that we're going to not only explain through the slides but also walk through in exercises the first one is we're going to set up user accounts that's going to be simple it's going to be easy but it'll be helpful we'll also look at how to construct the hierarchy of livingston hotels and resorts how do we take our department structure as a company and put that into liferay take for example that livingston could have different rewards programs well it would be useful for us to be able to create a specific user group
called livingston rewards groups that can contain all the users that have that privilege and then in addition we not only want to be able to separate users into different categories but the portal or library dxp should have different functionality and look different based on if you're in that user group so we're going to create a dashboard page to accomplish that so we have the required prerequisites for this module here they're really the same as if you did module one so you may you probably don't need to do any extra work here again you're going to
need to have jdk 11 installed and our bundle if you remember from the last module was located in your liferay folder we need to have liferay started up and running so again we're going to go to liferay bundles tomcat bin directory and we're going to run that catalina sh run command through the terminal once more for this exercise you're going to want to unzip module 2 exercises into your liferay folder so let's talk about the first objective which is importing your users into liferay basically in liferay there are two ways that you can handle importing
and authenticating users the first one is going to be through ldap an ldap server and this is where you already have an existing ldap repository of users that you want to import into lifer and that's a very common use case right for any business the other options are single sign-on sso oauth2 and saml and the point here is just to let you know that you have these options available to you for both importing and authenticating users so what is this slide about livingston authentication structure basically this slide is about hey livingston has a need they
have different groups of users and those users should have access to different parts of the website different functionality different content there might be hotel employees administrators as well as we have the livingston life travel blog and we have a group of users for that or business executives we have some basic out of the box authentication configuration that you can turn on or off and this is going to be inside of the control panel inside of configuration and then under instant settings you can control how users authenticate you can let them login automatically request forgotten passwords
allow them to request password reset links or not you can let users without any account create an account or not in addition if a user doesn't have an account are they allowed to make an account using the platform email address all of those options are listed in the instance settings and you can examine those and test out what they do if a company has an existing ldap server they're going to want to make sure that that is kept in sync with liferay again under instant settings you have the ability to configure what you want to
import from ldap and what you want to export back to ldap that's that whole syncing process let's say that you create a user in liferay you want that to be exported back to ldap and vice versa and that has to be kept in sync so liferay manages that from the instant settings you can configure what you want to import what you want to export for example you can export the users but you can also export user groups and we'll talk more about that in a second so once more we have ldap but we also have
oauth2 and saml and here are just several of the sso configurations that we have as well so remember there's oauth2 saml and single sign-on and for single sign-on we have the following options cas server token based ssl facebook connect open id connect and open sso all right we're finally at our knowledge check so two basic questions here what are the two primary methods for importing and authenticating outside users into liferay how do you import users and what are the three different authentication options that liferay provides in addition administrators how do they keep liferan ldap in
sync what are the two different areas that you need to configure the answer is that liferay has two primary methods the first is ldap server if you have an existing ldap server you can use that to import your users and authentication options are various types of sso oauth2 and saml and then how do you control what is transferred between ldap and liferay well you need to go to instant settings in the control panel and specify what to import what to export alright so again very high overview just looking at what are the things that liferay
provides here we didn't go into a lot of detail but it's good to be aware of what are the options so thanks for joining this video let's go to the next one