Extending the default schema from install to add few new atttributes

We use sun ldap5.2 with OAM 10.1.4.2. The LDAP schema that we currently use is from the install that was extended from the default Sun LDAP schema by Oracle. I have been asked to extend this schema to provide more attibutes like Challenge question, challenge answer and role. I'm hesistant for couple of reasons
1) I have a feeling that challenge question and challenge answers must be available already. If so, how do I use it.
2) Is it a best practice to reuse some already present attributes like say TELEX (I believe no body uses telex any more) or create new ones
3) my understanding of extending schema involves create new object classes (say customInetOrgPerson class). If I were to implement this new requirement in production environment, what happens to existing users that were created using InetOrgPerson class from the date of installation
Many thanks in advance for guidance.
Sri

It is considered poor practice to use an attribute for a purpose other than that which is obvious by it's name.
Therefore, the best practice is to enrich your person objects with an AUX class or to build a new structural class to include the attributes required. AUX class is your most flexible option especially if your OAM is already installed against inetorgperson.
I usually create a class like mycoChallengeResponseUser with mycoChallengePhrase and mycoChallengeResponse attributes where myco is some sensible prefix for the organization.
Hope that helps.
Mark

Similar Messages

  • Can I change the default schema from "sql"

    I wish to switch between several sets of identical tables under different schemas/owners in the same database - say dev1, dev2, test, prod schemas.
    The (single) user I connect with (say - called Reader1) has granted select to all these tables, and now i wish to do something like:
    alter session set schema='dev1'
    select count(*) from customers
    select count(*) from sales
    alter session set schema='test'
    select count(*) from customers
    select count(*) from sales
    The database should then translate it to something like:
    select count(*) from dev1.customers
    select count(*) from dev1.sales
    select count(*) from prod.customers
    select count(*) from prod.sales
    Is this possible or does anyone have alternative suggestions ?

    This sure sounds like what "private synonyms" are supposed to be used for...
    -- User Reader1 needs the system privilege "create synonym"
    -- to create private synonyms
    create synonym flex_customers for dev1.customers ;
    create synonym flex_sales for dev1.sales ;
    select count(*) from flex_customers ;
    select count(*) from flex_sales ;
    drop synonym flex_customers ;
    drop synonym flex_sales ;
    create synonym flex_customers for test.customers ;
    create synonym flex_sales for test.sales ;
    select count(*) from flex_customers ;
    select count(*) from flex_sales ;
    drop synonym flex_customers ;
    drop synonym flex_sales ;
    Hope that helps,
    Stan

  • How to create Default Schema from within the application

    Hi friends
    I am creating users using the following within my application using this syntax
    BEGIN
    APEX_UTIL.CREATE_USER
    (:P124_USER_ID, :P124_USER_NAME,:P124_USER_FIRST_NAME,:P124_USER_LAST_NAME,' ',:P124_USER_EMAIL_ID,'xxxx');
    END;
    The default workspace for the user is set as blanks. I would like to set it to be the default workspace as per the current logged in user.
    Can you help me with the syntax for this
    thank you in advance
    Laxmi

    Laxmi,
    The subject of the post is "How to create Default Schema from within the application".
    But your question asks how to set the "default workspace" for a newly created user.
    Those are different questions and not the ones I think you need answered.
    Let me answer this question "How can you set the default schema for an account when creating the account and set it to the same value used for the default schema attribute of the administrator account used to authenticate to the currently running application?".
    In the apex_util.create_user call use named parameter notation and fetch the information about the currently logged-in user first, e.g.,declare
      l_workspace               varchar2(256);
      l_user_name               varchar2(256);
      l_first_name              varchar2(256);
      l_last_name               varchar2(256);
      l_web_password            varchar2(256);
      l_email_address           varchar2(256);
      l_start_date              varchar2(256);
      l_end_date                varchar2(256);
      l_employee_id             varchar2(256);
      l_allow_access_to_schemas varchar2(256);
      l_person_type             varchar2(256);
      l_default_schema          varchar2(256);
      l_groups                  varchar2(256);
      l_developer_role          varchar2(256);
      l_description             varchar2(256);
    begin
    apex_util.fetch_user (
      p_user_id                  => apex_util.get_current_user_id,
      p_workspace                => l_workspace,
      p_user_name                => l_user_name,
      p_first_name               => l_first_name,
      p_last_name                => l_last_name,
      p_web_password             => l_web_password,
      p_email_address            => l_email_address,
      p_start_date               => l_start_date,
      p_end_date                 => l_end_date,
      p_employee_id              => l_employee_id,
      p_allow_access_to_schemas  => l_allow_access_to_schemas,
      p_person_type              => l_person_type,
      p_default_schema           => l_default_schema,
      p_groups                   => l_groups,
      p_developer_role           => l_developer_role,
      p_description              => l_description);
    apex_util.create_user(
      p_user_id        => :P124_USER_ID,
      p_user_name      => :P124_USER_NAME,
      p_first_name     => :P124_USER_FIRST_NAME,
      p_last_name      => :P124_USER_LAST_NAME,
      p_email_address  => :P124_USER_EMAIL_ID,
      p_web_password   => 'xxxx',
      p_default_schema => l_default_schema);
    end;Scott

  • Confused about the default schema

    Hi,
    I am a little bit confused about the schema concept.
    I want to create a new schema called APP and then create several users and roles based on the schema APP. The default schema for the users should be APP achema.
    How can I make the schema APP the default schema for the new users that I am creating?
    I feel that there are some schema design concepts that I have to learn. Is there any resource on the internet that I can read and learn more about oracle schema design best practices?
    Any help would be appreciated,
    Ali

    A schema holds object definitions, and in the case of table & index objects the schema also holds the data.
    A user owns the schema.
    Therefore the user 'owns the definitions (including any functions, procedures, sequences, tabels, etc.)
    Other users may be granted access to some, or all, of the objects in a schema. This is done through the 'GRANT ...' command. For example, consider the following steps:
    1) create user app_owner
    2) create table object test owned by the app_owwner
    3) create user app_user
    4) grant select, update, insert and delete on app_owner's test table to app_user
    5) add synonyms to avoid needing to qualify the table's schema name.
    done as follows:
    oracle@fuzzy:~> sqlplus system
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 3 20:07:32 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Create the app owner userid. Note there is no need to ever log in to that user, even to create tables.
    SQL> create user app_owner
      2  identified by xyz
      3  account lock
      4  quota unlimited on users
      5  default tablespace users
      6  temporary tablespace temp;
    User created.
    Creating objects in a schema can be done by providing the schema name, or by switching schema in newer versions of Oracle
    SQL> create table app_owner.test ( t number );
    Table created.
    Create a userid that will access the table. Set that userid up to access the database and (for future) give it the capability to create it's own synonyms
    SQL> create user app_user
      2  identified by xyz
      3  temporary tablespace temp;
    User created.
    SQL> grant create session to app_user;
    Grant succeeded.
    SQL> grant create synonym to app_user;
    Grant succeeded.
    Now give the user access to the objects
    SQL> grant select, update, insert, delete on app_owner.test to app_user;
    Grant succeeded.
    Let's test it out. Insert by qualifying the schema name on the object, then create a synonym to avoid using schema, and try it all using the synonym
    SQL> connect app_user/xyz
    Connected.
    SQL> insert into app_owner.test values (4);
    1 row created.
    SQL> create synonym test for app_owner.test;
    Synonym created.
    SQL> insert into test values (3);
    1 row created.
    SQL> select * from test;
             T
             4
             3
    SQL>  Note that some people want to use PUBLIC grants and PUBLIC synonyms. This is a real bad idea if you want to ensure long term security of the data and want to host several different applications in the same Oracle instance.
    This, and a whole lot more, is in the 'Concepts' manual for your version of the database at http://docs.oracle.com

  • Extending the AD schema

    Every article I have ready about extending the AD schema states that it is a forest wide change.  Is there a way to extended the AD schema to just our domain?  Our domain is one of a few other child domains.  I am just trying to extend the
    AD schema just to our domain.  Is that possible?

    Additionally, the schema extension for ConfigMgr is simply adding three new classes and 18 (I thin) attributes for those classes -- none of these have anything to do with any existing classes (or objects) or services. Thus, they are completely isolated from
    the rest the schema and have no dependencies whatsoever so their impact is minimal on the existing schema.
    I also second Torsten's statement of never having heard of any issues -- note that the schema extension has been around since SMS 2003 so that's 10 years of folks implementing it (both Torsten and I have been implementing SMS/ConfigMgr for customers since
    before then) and neither of use have ever heard of any issues caused.
    IMO opinion, extending the schema for ConfigMgr is about as low risk as you will ever see.
    Jason | http://blog.configmgrftw.com
    This answers my question I just replied here:
    https://social.technet.microsoft.com/Forums/en-US/6dda42d3-a040-4335-8ea8-5e9e6b14d069/extend-schema-for-sccm-2012-on-dc-with-schema-master?forum=configmanagergeneral
    Thanks.
    About to extend schema as we speak in production.

  • How do I change the default setting from Pages to MS Word for Mac?

    How do I change the default setting from Pages to MS Word for Mac?

    https://discussions.apple.com/message/13008817#13008817

  • I have an airport extreme attached to cable, then one airport express to extend the range. when i try to add an additional airport express to extend range in another area of house, can't get it to work. unility says it has found a new base station

    i have an airport extreme attached to cable, then one airport express to extend the range. when i try to add an additional airport express to extend range in another area of house, can't get it to work. utility says it has found a new base station and asks if i want to use it. if i click yes, then the old setup is disabled.

    Ok, thanks for clarifying which models you have. Please see the following Apple Support article on how to configure these older base stations for a Wireless Distribution System (WDS).

  • TS1702 I REMOVED YOUMAIL APP FROM MY PHONE AND THE DEFAULT GREETING FROM THE APP STILL ANSWERS MY PHONE  HOW DO I GET IT NOT TO?

    I REMOVED THE YOUMAIL APP FROM MY PHONE AND THE DEFAULT GREETING FROM THE APP STILL ANSWERS MY PHONE,
      HOW DO I GET IT NOT TO?

    As Dah•veed said, you can delete an app on one divice, and still have it stay on another. The syncing only applies for downloaing apps when you have "Sync Purchases" enabled for the App Store. This goes for the iTunes, iBooks, and Podcasts apps as well.

  • How to remove the default theme from "Revolution theme" to create our own movies and put our own background..

    how to remove the default theme from 'Revolution theme" to create movies of our own and a background..
    how to create chapter maker for movies...

    Are you using iDVD? Or iMovie?
    If iDVD, post in -> https://discussions.apple.com/community/ilife/idvd.
    If iMovie, post in -> https://discussions.apple.com/community/ilife/imovie.
    Good luck,
    Clinton

  • Example storing data in the default schema with a Web Dynpro application

    Hi,
    is there any example or tutorial for storing data in the default schema with a Web Dynpro application via SQLJ or Hibernate by using the default DataSource?
    Thanks for Help,
    Dirk

    Hi,
    When you create the TAB-Strip object you should be able to set the default displayed TAB against the properties of the TAB-Strip.
    Gareth.

  • Easiest way to launch a link to the default browser from java?

    Is there an easy way to launch a link in the default browser from java? Ideally I would have a graphic in a cell that when clicked on would open a new window/tab in the default browser. This would be done in SWT, but it might be similar to swing, awt, etc. Any ideas?

    If you are using Java 1.5 or earlier, I found the browser launch code found here to work fairly well: http://www.centerkey.com/java/browser

  • I have a Windows Server 2008 R2 system. I am using Adobe Acrobat XI Pro. I am looking for the place where I can change the default font from Minion Pro to Calibri? Tools, Content Editing, Formatting

    I have a Windows Server 2008 R2 system. I am using Adobe Acrobat XI Pro. I am looking for the place where I can Change the Default font from Miinion Pro to Calibri?
    Tools, Content Editing, Formatting

    You can't change it.
    On Tue, Jan 13, 2015 at 11:22 AM, tonywaidmann <[email protected]>

  • The Web application at could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application

    Hi,
    I have created on windows service to fetch sharepoint list ad update the list items.
    when i run this service in sharepoint server(where the sharepoint site is hosted),it is working fine. If i run the same service in another machine(sharepoint installed in this machine also). it is giving the below error
    The Web application at [URL] could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
    Code snippet
    SPSite sharepointSite = null;
                SPWeb rootWeb = null;
                try
                    //SPList current = null, previous = null;
                    string colmId = ConfigurationManager.AppSettings[ID_COLM];
                    List<TaskEntity> list = new List<TaskEntity>();
                    sharepointSite = new SPSite(URL);
                    rootWeb = sharepointSite.OpenWeb();
                    SPList current = rootWeb.Lists[ConfigurationManager.AppSettings[OMEGA_REGISTRATION_LIST]];
                    WriteEventLog("current" + current.Items.Count.ToString());
                catch (Exception ex)
                    ExceptionMethod(ex);
                finally
                    sharepointSite = null;
                    rootWeb = null;
    I have pointed .net framework to 3.5 version and target palform as Any CPU. Please suggest me

    Hi mallela1,
    I also had similar issue couple of months back when I was trying to access a remote URL from a Windows service when the site does not exists in the server where service resides.
    You cannot access a remote url (even though it is SharePoint server and also in same network ) from server object model.
    SPSite can look in the current server only. here what is happening is SPSite will look for this in the current server DB and it is not finding this errror.
    So please dont use ServerObject model for accessing remote sites. You can use Client Object model for the code /requirement you have stated above.
    I wasted lot of time in finding a work around to make to work. It did not. So look for other options.
    Regards,
    Nandini

  • What is the default group id/ home /shell while adding new account with useradd without specifying these parameters?

    What is the default group id/ home /shell while adding new account with useradd without specifying these parameters?
    reagrds

    Hi,
    You can check the default values from the below file
    /usr/sadm/defadduser
    and from this command
    #useradd -D

  • My Mac crashed. I got a new hard drive. I reinstalled Lightroom. Fortunately ircats are stored on an external drive. How do I import all of the old catalogues from external drive into a new LR catalogue. I have done it before. It has just been many years

    My Mac crashed. I got a new hard drive. I reinstalled Lightroom. Fortunately ircats are stored on an external drive. How do I import all of the old catalogues from external drive into a new LR catalogue. I have done it before. It has just been many years and I can't recall how.

    If you had stored your catalog files on an external drive, then all you have to do is double-click on them to open them and use them.
    Or you could move them to the internal drive and double-click on them once the move is completed.
    To create a single catalog file from multiple ones, you could use File->Import from Another Catalog

Maybe you are looking for