getLogger().error(".act(): No session object");
return null;
}
Identity identity = (Identity) session.getAttribute("org.apache.lenya.cms.ac.Identity");
getLogger().debug(".act(): Identity: " + identity);
String docId = request.getParameter("documentid");
filename =publication.getEnvironment().getAuthoringPath() + "/" +docId ;
getLogger().debug(".act(): publicationAuthPath + docId : " + publication.getEnvironment().getAuthoringPath() +" : " +docId );
username = null;
if (identity != null) {
username = identity.getUsername();
} else {
getLogger().error(".act(): No identity yet");
}
getLogger().debug(".act(): Username: " + username);