new DefaultEntry( getService().getSchemaManager(), akarasulu.getEntry() ) );
try
{
Dn userDn = new Dn( getService().getSchemaManager(), "uid=akarasulu,ou=users,ou=system" );
LdapPrincipal principal = new LdapPrincipal( getService().getSchemaManager(), userDn, AuthenticationLevel.SIMPLE );
CoreSession akarasuluSession = getService().getSession( principal );
ExprNode filter = FilterParser.parse( getService().getSchemaManager(), "(objectClass=*)" );
Cursor<Entry> cursor = akarasuluSession.search( new Dn( "ou=users,ou=system" ), SearchScope.OBJECT, filter , AliasDerefMode.DEREF_ALWAYS );