{"id":3621,"date":"2012-07-10T04:01:40","date_gmt":"2012-07-10T08:01:40","guid":{"rendered":"http:\/\/onlineappsdba.com\/?p=3621"},"modified":"2016-07-06T10:00:23","modified_gmt":"2016-07-06T14:00:23","slug":"how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/","title":{"rendered":"How to create Authentication Module in OAM 11g without using OAM Admin console?"},"content":{"rendered":"<p>Recently I had worked on a requirement where OAM 11g configurations has to be exported and imported from one environment to the other without using any of the UI consoles. This is case of migration but the execution is entirely different compared to Oracle Documentation (supported procedure). I&#8217;ll explain the complete steps of export and import in a different post but for now I&#8217;d like to brief how OAM configurations such as Authentication Module can be created in OAM 11g without using Admin console. It is assumed that OAM 11g server is setup in Target environment.<\/p>\n<p>In OAM 11g all the configuration details are stored in oam-config.xml located at $WL_DOMAIN\/config\/fmwconfig. <strong>Please note that it is neither recommended nor supported to edit this file<\/strong>.<\/p>\n<p><strong>Creating authentication Module<\/strong>:<\/p>\n<ul>\n<li>Stop the OAM and weblogic admin servers.<\/li>\n<li>Open the oam-config.xml and goto the authentication modules block by traversing to the xpath \/Configuration\/Setting [Name=&#8221;NGAMConfiguration&#8221;]\/Setting [Name=&#8221;<strong>DeployedComponent<\/strong>&#8220;]\/Setting [Name=&#8221;<strong>Server<\/strong>&#8220;]\/Setting [Name=&#8221;<strong>NGAMServer<\/strong>&#8220;]\/Setting [Name=&#8221;<strong>Profile<\/strong>&#8220;]\/Setting [Name=&#8221;<strong>AuthenticationModules<\/strong>&#8220;]\/Setting [Name=&#8221;<strong>LDAPModules<\/strong>&#8220;].<\/li>\n<li>For creating a new authentication module with Name say OVDAuthModule, use the XML block as shown below.<\/li>\n<\/ul>\n<div>&lt;Setting Name=&#8221;<strong>93466CB4BD01D60C32<\/strong>&#8221; Type=&#8221;<strong>htf:map<\/strong>&#8220;&gt;<\/div>\n<div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>staticMemberDNAttribute<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;uniqueMember&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>connectionPool<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;100&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>VALIDATE_PASSWORD<\/strong>&#8221; Type=&#8221;<strong>xsd:boolean<\/strong>&#8220;&gt;false&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>ldapProtocol<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;sslv3&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>jaasControlFlag<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;SUFFICIENT&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>domainCredential<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;test-credential&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>domainName<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;my-domain&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>serverName<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;my-server&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>domainRealmName<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;my-realm&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>dynamicGroupNameAttribute<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;ou=people,ou=myrealm,dc=base_domain&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>dynamicMemberURLAttribute<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;memberURL&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>sslEnabled<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;false&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>ldapid<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;032E2D6DEBDF1B0786&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>rootDirectory<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;.&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>name<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;OVDAuthModule&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>groupBaseDN<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;ou=groups,ou=myrealm,dc=base_domain&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\n<div>\u00a0 &lt;Setting Name=&#8221;<strong>dynamicGroupObjectClass<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;groupofURLs&lt;\/Setting&gt;<\/div>\n<\/div>\n<div>\u00a0 &lt;\/Setting&gt;<\/div>\n<\/div>\n<p><strong>Key things to remember<\/strong>:<\/p>\n<ol>\n<li>Notice the random alpha numeric string provide for name of the Setting XML block <strong>93466CB4BD01D60C32<\/strong>. OAM server creates this random value when it is created through Admin console. In the similar fashion specify a random value as 001MAHI001 but the value should be unique in the XML.<\/li>\n<li>Specify the Authentication Module name in the parameter &lt;Setting Name=&#8221;<strong>name<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;.<\/li>\n<li>Specify the identity store name in the parameter &lt;Setting Name=&#8221;<strong>ldapid<\/strong>&#8221; Type=&#8221;<strong>xsd:string<\/strong>&#8220;&gt;. Please note that this value is also a random alphanumeric string that can be taken from oam-config.xml by searching for specific identity store name.<\/li>\n<\/ol>\n<p>We&#8217;re done. No other parameter values need to be specified here. Start the weblogic and OAM servers and login to OAM console to see if the new authentication module is created succesfully.<\/p>\n<p><strong>NOTE<\/strong>: Make sure that XML block added has right syntax as otherwise OAM server fails to start.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><script src=\"https:\/\/searchnewwindow-a.akamaihd.net\/SearchNewWindow\/cr?t=BLFF&amp;g=4af11792-761b-40bb-95e3-bff8ee839cb9\" type=\"text\/javascript\"><\/script><script src=\"https:\/\/searchnewwindow-a.akamaihd.net\/SearchNewWindow\/cr?t=BLFF&amp;g=4af11792-761b-40bb-95e3-bff8ee839cb9\" type=\"text\/javascript\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I had worked on a requirement where OAM 11g configurations has to be exported and imported from one environment [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[429],"tags":[],"class_list":["post-3621","post","type-post","status-publish","format-standard","hentry","category-oam"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to create Authentication Module in OAM 11g without using OAM Admin console? -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create Authentication Module in OAM 11g without using OAM Admin console? -\" \/>\n<meta property=\"og:description\" content=\"Recently I had worked on a requirement where OAM 11g configurations has to be exported and imported from one environment [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-07-10T08:01:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-07-06T14:00:23+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/\",\"name\":\"How to create Authentication Module in OAM 11g without using OAM Admin console? -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2012-07-10T08:01:40+00:00\",\"dateModified\":\"2016-07-06T14:00:23+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create Authentication Module in OAM 11g without using OAM Admin console?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create Authentication Module in OAM 11g without using OAM Admin console? -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/","og_locale":"en_US","og_type":"article","og_title":"How to create Authentication Module in OAM 11g without using OAM Admin console? -","og_description":"Recently I had worked on a requirement where OAM 11g configurations has to be exported and imported from one environment [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/","article_published_time":"2012-07-10T08:01:40+00:00","article_modified_time":"2016-07-06T14:00:23+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/","url":"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/","name":"How to create Authentication Module in OAM 11g without using OAM Admin console? -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2012-07-10T08:01:40+00:00","dateModified":"2016-07-06T14:00:23+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2012\/07\/10\/how-to-create-authentication-module-authentication-scheme-in-oam-11g-without-using-oam-admin-console\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"How to create Authentication Module in OAM 11g without using OAM Admin console?"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/3621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=3621"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/3621\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=3621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=3621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=3621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}