After using the Persona assertion with the _persona REST endpoint, do I 
need to re create the Replication using a new URL where the assertion is 
appended as a query parameter?

   URL replicationUrl = new 
URL("http://myserver.com:4984/bsg_sync?personaAssertion="; + assertion));
   Database database = getDatabase(databaseName);
   Replication pullReplication = 
database.createPullReplication(replicationUrl);
   Replication pushReplication = 
database.createPushReplication(replicationUrl);

Or do I somehow need to specify the session cookie on the Replication after 
person login?


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/3cc01ac9-2e81-4185-9c9f-c528abe4b280%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to