{"id":77,"date":"2016-01-02T14:52:47","date_gmt":"2016-01-02T14:52:47","guid":{"rendered":"https:\/\/www.spotonoracle.com\/?p=77"},"modified":"2016-05-10T15:08:57","modified_gmt":"2016-05-10T15:08:57","slug":"enterprise-user-security-part-1","status":"publish","type":"post","link":"https:\/\/www.spotonoracle.com\/?p=77","title":{"rendered":"Enterprise User Security &#8211; Part 1"},"content":{"rendered":"<p>After having the pleasure to work with EUS there is no going back. I like EUS so much it makes me wonder why the adoption of this feature is so small. Maybe because it&#8217;s such a huge <a href=\"http:\/\/www.internetslang.com\/PITA.asp\" target=\"_blank\">PITA<\/a> to install and setup (just kidding, I know the licenses cost some <del>a bag full of<\/del> money.  <del>Moreover, most organization don&#8217;t seem to care enough about their total mess in identity and access management<\/del>).<\/p>\n<p>What I&#8217;m going to show in this series is what is necessary to make EUS happen on the currently latest version of OUD (11.1.2.3) and the Oracle database (12.1.0.2). As usual, there is some patching and working around to do.<\/p>\n<p>But, first things first. What software do we need and what is each component for?<\/p>\n<p><strong>Oracle Unified Directory<br \/>\n<\/strong>OUD is the directory service to which the database is making requests about users, credentials and privileges (roles). OUD is a LDAP directory based on <a href=\"https:\/\/opends.java.net\" target=\"_blank\">OpenDS<\/a>. It&#8217;s a pure Java application with a integrated Berkley DB backend.<\/p>\n<p><strong>Oracle Directory Services Manager<br \/>\n<\/strong>This component is optional but will make your life so much easier. ODSM is a web-based GUI to manage OUD. You use it to configure OUD, setup replication between multiple OUD&#8217;s and manage your users, groups, etc. ODSM is an application deployed on Weblogic and is using ADF.<\/p>\n<p><strong>Download Software<br \/>\n<\/strong>Java JDK: Version 7 (latest Update)<br \/>\n&#8211; download from <a href=\"http:\/\/support.oracle.com\" target=\"_blank\">support.oracle.com<\/a> \/ Patch 1307984<\/p>\n<p>Weblogic Server 11gR1 (Generic and Coherence): Version 10.3.6<br \/>\n&#8211; download from <a href=\"http:\/\/edelivery.oracle.com\" target=\"_blank\">edelivery.oracle.com<\/a> \/ Part-No.: V29856-01<\/p>\n<p>Oracle Application Development Framework (ADF): Version 11.1.1.9.0<br \/>\n&#8211; download from <a href=\"http:\/\/support.oracle.com\" target=\"_blank\">support.oracle.com<\/a> (Patch 20996481 \/ p20996481_111190_Generic.zip)<\/p>\n<p>Oracle Unified Directory (OUD): Version 11.1.2.3.0<br \/>\n&#8211; download from <a href=\"http:\/\/edelivery.oracle.com\" target=\"_blank\">edelivery.oracle.com<\/a> \/ Part-No.: V75929-01<\/p>\n<p><strong>Required Patches<\/strong><br \/>\nAs I said before, there are some patches required for everything playing nice together.<\/p>\n<p>Database 12.1.0.2 requires patch to support SHA-2 with SSL:<br \/>\n&#8211; p19285025_121020_Linux-x86-64.zip<br \/>\n&#8211; get latest OPatch (6880880) for your database home version as per patch note<\/p>\n<p>OUD 11.1.2.3 requires patch to allow EUSM tool to connect:<br \/>\n&#8211; p20529805_111230_Generic.zip<br \/>\n&#8211; your current opatch version in the MW home should be high enough (OPatch version 11.1.0.11.0) to apply this patch<\/p>\n<p>Happy downloading&#8230;<\/p>\n<p>&#8230;<br \/>\n&#8230;<br \/>\n&#8230;<\/p>\n<p><strong>Wrap your head around EUS<br \/>\n<\/strong>Meanwhile, let&#8217;s quickly look at what it&#8217;s all about &#8211; in case you&#8217;re new to this EUS business. The following diagram is an attempt to put everything in one picture what is scattered in the documentation: <a href=\"http:\/\/docs.oracle.com\/database\/121\/DBIMI\/toc.htm\" target=\"_blank\">Database Enterprise User Security Administrator&#8217;s Guide<\/a>.<\/p>\n<p><a href=\"https:\/\/www.spotonoracle.com\/wp-content\/uploads\/2016\/01\/eus-relationship.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.spotonoracle.com\/wp-content\/uploads\/2016\/01\/eus-relationship-300x169.png\" alt=\"eus-relationship\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-79\" srcset=\"https:\/\/www.spotonoracle.com\/wp-content\/uploads\/2016\/01\/eus-relationship-300x169.png 300w, https:\/\/www.spotonoracle.com\/wp-content\/uploads\/2016\/01\/eus-relationship-768x432.png 768w, https:\/\/www.spotonoracle.com\/wp-content\/uploads\/2016\/01\/eus-relationship-1024x576.png 1024w, https:\/\/www.spotonoracle.com\/wp-content\/uploads\/2016\/01\/eus-relationship-624x351.png 624w, https:\/\/www.spotonoracle.com\/wp-content\/uploads\/2016\/01\/eus-relationship.png 1280w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Coloring scheme:<br \/>\n&#8211; Green: objects in the database<br \/>\n&#8211; Blue: groups of objects in the LDAP directory<br \/>\n&#8211; Red: user entities in the LDAP directory<br \/>\n&#8211; Yellow: enterprise roles in the LDAP directory<\/p>\n<p>There&#8217;s a group of users and each user is a member of one or more (functional) groups. The &#8220;Users&#8221; group is mapped to a database schema EUS_USER. This means every database login from one of these users will physically connect to the EUS_USER schema in the databases. Every functional group is granted one or more enterprise roles. Each enterprise role is mapped to a role in one or more databases.<\/p>\n<p><strong>What&#8217;s next<br \/>\n<\/strong>I&#8217;m going to show you how to install and configure all the components so you can start registering databases for EUS. And, we&#8217;re going to do this in silent mode &#8211; meaning it&#8217;s all command line and response files instead of OUI screen shots.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After having the pleasure to work with EUS there is no going back. I like EUS so much it makes me wonder why the adoption of this feature is so small. Maybe because it&#8217;s such a huge PITA to install and setup (just kidding, I know the licenses cost some a bag full of money. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,7],"tags":[],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-eus","category-oud"],"_links":{"self":[{"href":"https:\/\/www.spotonoracle.com\/index.php?rest_route=\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spotonoracle.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spotonoracle.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spotonoracle.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spotonoracle.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=77"}],"version-history":[{"count":4,"href":"https:\/\/www.spotonoracle.com\/index.php?rest_route=\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":83,"href":"https:\/\/www.spotonoracle.com\/index.php?rest_route=\/wp\/v2\/posts\/77\/revisions\/83"}],"wp:attachment":[{"href":"https:\/\/www.spotonoracle.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spotonoracle.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spotonoracle.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}