// PROTECTED METHODS
//
- protected OwnIdentity getIdentity(FreenetRequest request) {
+ protected OwnIdentity getOwnIdentity(FreenetRequest request) {
if (request.getMethod() == Method.POST) {
String ownIdentityId = request.getHttpRequest().getPartAsStringFailsafe("ownIdentity", 43);
return identityManager.getOwnIdentity(ownIdentityId);
protected void processTemplate(FreenetRequest request, TemplateContext templateContext) throws RedirectException {
super.processTemplate(request, templateContext);
if (request.getMethod() == Method.POST) {
- OwnIdentity ownIdentity = getIdentity(request);
+ OwnIdentity ownIdentity = getOwnIdentity(request);
if (ownIdentity == null) {
/* TODO - show error. */
return;