ServerContext ctx = ( ServerContext ) InvocationStack.getInstance().peek().getCaller(); LdapPrincipal user = ctx.getPrincipal(); Name userGroupName = null;
    public void add( NextInterceptor next, String upName, Name normName, Attributes entry ) throws NamingException    {        next.add( upName, normName, entry );        tupleCache.subentryAdded( upName, normName, entry );        groupCache.groupAdded( upName, normName, entry );        ServerContext ctx = ( ServerContext ) InvocationStack.getInstance().peek().getCaller();        LdapPrincipal user = ctx.getPrincipal();        Name userGroupName = null;//        engine.checkPermission( next, userGroupName, user.getName(), user.getAuthenticationLevel(), normName, null,//                null, ADD_OPS, aciTuples );    }