OSLC URL to logout
One answer
You need to fire a delete Rest call using oslc. Following snippet will do this.
boolean isReleased = false;
String cqUrl=https://servername/cqweb/oslc/session;
DeleteMethod deleteMethod = new DeleteMethod();
try {
deleteMethod
.setURI(new URI(
urll, false));
getConnection().executeMethod(deleteMethod);
isReleased = true;