Hi everyone,
1) XCC/J
           invoke.setModuleUri("fileName.xqy");
           ResultSequence rs = session.submitRequest(invoke);

           Invalid user can be found only at this point (or) any possibility
while creating session object.

2) I am connecting to MarkLogic XDBC Server with XCC  from Java.When i am
trying to Login with adminuser and adminpass its working fine for test.xqy
file

let $a := 1
return $a

for other user(role:applicationRole) applicationRole with
applicationPrivileage(executivePriv)

{while creating XDBC Server when  privilage field is blank]

ERROR:
               com.marklogic.xcc.exceptions.XQueryException: SEC-PRIV:
Insufficient privileges
in /invoke


{while creating XDBC Server  privilage field is applicationRole]

ERROR:
com.marklogic.xcc.exceptions.RequestPermissionException: Authorization
failed for user 'Franklin'.

MarkLogic Version:3.2-5

            please guide me ...
                                                    Regards,
                                                                Gnana Arasan
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to