How does one get the session cookie that is set after accessing the _persona url?
An HTTP server sets cookies by adding a Set-Cookie:
header in its response.
I can’t answer the rest of your question, not being familiar with Java’s HTTP API. For best results, ask questions on our mailing list instead of this forum – Redirecting to Google Groups