Pesrona - A simpler access control system

Sooner or later, every software developer implements some sort of access control system, may it be users management module, role-based access control module, you name it. Once a developer is comfortable with the model he/she implemented it is no concern of time and effort for the developer. However, when the model is not solid or complete, time to time, it may require refactoring, redesigning, re-implementing, or maintenance or modification of the larger system. I have to come to need of an access control system that needs to manage the users, roles, and privileges across multiple systems and needs to sync users from LDAP server. I have done some research on open source identity management and access control solutions. The current open source offerings are complex to understand and use. Thus, I see there is a need for an easy to understand access control system. I have started developing the system at /. Documentations to follow. If you are inter

Scrum guide

"Scrum is a framework for developing, delivering, and sustaining complex products." - from Scrum Guide.

Java annotations example

I've done some small-scale presenting about annotations in Java based on a simple use case in my company. I thought I would post it here for a greater audience. Annotations in Java is a very powerful enhancement that can save a lot of time for developers and programmers. Basically, it enables programmers to avoid creating bunch of configurations based on XML, database records, etc. Instead they can annotate certain classes or fields to achieve different configurations. That is how now we don't declare our servlets in web.xml with its class and URL pattern; instead we annotate them by typing @WebServlet in the Java file. OK, the use case: Let's assume that we are developing a tax processing program. We have an entity class called which looks something like following: Let's also assume that our program shall be a pretty generic one where we can define our processing formulas. Let's say we define formulas and set its variables to Citizen class&

Embedded key-store store database wrapping-up

In my last post , I have mentioned about what a key-value store database and little about Sleepycat. While Sleepycat is great, it needs some configuration before actually using it. For this reason, I have written an wrapper which stores only unicode-based strings as key and value. The code is given in the following Gist. The usage example has been given in the comment.

Embedded, persistent key-store

One often needs an embedded, persistent, key-store database solution if he/she is developing a software which relies on configurations made upon deployment. I was that one yesterday, so I looked up on the Internet for a solution. The solution was, with no convincing reason, Berkeley DB Java Edition, Sleepy Cat to be specific. So here is the code chunk that did the trick! For a developer of modern languages like Python, it seemed like a lot of work for simple tasks. However, if you wrap it with your own code it can be helpful in many ways.

MongoDB өгөгдлийн санг архивлах

The Friendship of the Music: A review for Genghis Blues

The world as we know is full of inspirations, surprises and other amazing things with all its diversity. This diversity is its people who vary from the highlanders in the Andes, to the arctic Eskimos, from city dwellers of enormous metropolitan areas to Tuareg people in the Saharan desert. The greatest inspiration that is maybe music, a common thing that all different cultures in the world share. The inspiration for Paul Pena, a renowned jazz musician from the United States, was a practice of music from the nomadic people in the Central Asian Altai mountains. Called khoomei locally, this is a style of throat-singing in which the performer produces multiple tones simultaneously making a unique melody. As interesting as how it sounds is the journey and friendship formed when Paul Pena wanted to know better about what he heard on radio. Khoomei, otherwise called overtone singing, is practiced by the nomadic people in Mongolia, Chinese Inner Mongolia and Russian Siberian republics li