Programming Geek
Rated 4.7/5 based on 1446 reviews

Aspirations2020 for 2014

No comments :

Infosys has announced the schedule for Aspirations 2020 for the year 2014. Like previous year, Aspirations 2020 is being organized in collaboration with ACM ICPC Amritapuri. All the participants of final round will be eligible for participating in onsite round of ACM ICPC at Amritapuri.

: All engineering and MCA students across India.

The Programming Contest 
To foster problem solving and algorithmic thinking abilities

The contest will start from a practice round on 9-10 September, 2014. College round will be held on 15-19 September. You can take this round online from home. Winners from college round will be selected on the basis of highest score obtained in that particular region.

Top teams ( number of teams vary) of college round will participate in final round to be held at Infosys Development Centre of respective region.

All the travelling expenses will be reimbursed by Infosys. Winners of final round will receive awesome goodies and will be eligible to participate in onsite round of
ACM ICPC Amritapuri.

Here goes complete schedule for Aspirations2020 for the year 2014:
Briefing to colleges & college level campaigns3rd and 4th weeks of August, 2014
Registration Start Date3rd week of August, 2014
Registration End Date TeasersMonday, 1st September, 2014
Teasers(Practice Test) @ Colleges (under proctoring)9-10 September, 2014
College Round15-19 September, 2014
DC FinalsTuesday, 30th September, 2014 at Infosys Development Centre

For registration and more details visit Infosys Aspirations2020 website.

Playing With OpenDS

No comments :
OpenDS is an open source software written in Java that stores hierarchial data. It is a central repository of information. It is not a conventional RDBMS but you can store here user information.


In a organization, employees record can be stored in OpenDS (centrally) and all other application can use these data to authenticate or display employee details.

Suppose you are developing an application and you have developed the schema for user information in OpenDS. Now while testing your application or while deploying your application, you do not need to move user information from OpenDS. So it can be used in the process Development > Testing > Deployment .

LDAP : LDAP (Lightweight Directory Access Protocol ) is a directory acess protocol using which you can communicate with a directory service such as OpenDS.

While developing a simple web application I needed custom attribute for users in OpenDS. It is simple to create an attribute in OpenDS but the problem is to get it reflected properly in a new entry. So I did research and find out a way to do this.

Watch the video below or read this blog .

Adding new/custom Attribute in OpenDS : 

1. You need to create an ldif file and run a command on console. More information can be found here :

2. Using OpenDS Control Panel :

  1. Open OpenDS Control Panel and click on 'Manage Schema' .

    A new window will open showing various options to customize your schema.

Click on “New Attribute” button and enter the new attribute name you want to add as shown below.

The newly added attribute will look like as follows.

Adding new/custom Object Class in OpenDS

1. You need to create a ldif file and run the ldapmodify command on console.  Check here :

2.Using OpenDS control panel

Open OpenDS Control Panel and click on “Manage Schema” .

Now you need to add a new object class. So click on 'New Object Class”.

Enter the new object class name and select the parent object class. A list of attribute will be available to you from this parent class. Now select the new custom attribute from left column and add it to the right column as per the priority (i.e. Whether you want to make it a required attribute or optional attribute ) .

Adding entry with custom attribute in OpenDS

Now back to control panel and click “Manage Entries “. Make sure you have already created a Base DN where you will add new entry. I have created a new base DN and a ou as you can see in the picture below.

Now select the ou or DN and create a new user. Enter the required attributes .

The user will be added with the default object class “InetOrgPerson” . We need to change that object class to newly created object class. I have created “ApprovalStatus” as custom attribute and “ird” as custom object class. So let's modify the object class for the entry. Click on 'Edit' button.

Select your custom object class from the list in “Structural Object Class” and click OK.

Now you are done. Just uncheck the check box before “Only Show Attributes With Values” and scroll down the cursor. You will find your newly added attribute there. Cool, That's how you get your custom attribute getting reflected in new entry.