Thanks to all.Resolved issue,i gave all permissions same as adminstrator group.Issue is: changed code "resourceresolverfactory.getAdmistrativeResourceResolver(null)-->adminsession" to "final HashMap<String, Object> authInfo = new HashMap<String, Object>(); ...