In case someone else have the same issue, this is how I solved it:

Same procedure as "Re-enabling a locked-out account" but with a modified 
version of the jsp file. In this modified version I printed out all node data 
for the broken superuser account as well as for an other user (in my case 
"test"). The comparison showed that the password was set with a very short 
value compared with the other user. Therefore I adapted the jsp file to replace 
the superuser password value with the one of the other user. Afterwards, I was 
able to login again! Hurray!

Here the jsp for comparison
[code]
<%@ page contentType="text/plain" %>
<%@ page import="info.magnolia.cms.core.Content"%>
<%@ page import="info.magnolia.cms.core.HierarchyManager"%>
<%@ page import="info.magnolia.context.MgnlContext"%>
<%@ page import="info.magnolia.cms.core.NodeData"%>
<%
MgnlContext.doInSystemContext(new MgnlContext.Op<Void, Throwable>() {
    public Void exec() throws Throwable {
    HierarchyManager hm = MgnlContext.getHierarchyManager("users");

    System.out.println("SUPERUSER");
    final Content su = hm.getContent("/system/superuser");

    for (NodeData nodeData : su.getNodeDataCollection()) {
      System.out.println(nodeData.getName());
      System.out.println(nodeData.getString());
      System.out.println("=====");
    }
    System.out.println("======================================");
    System.out.println("test");

    final Content test = hm.getContent("/admin/test");
    for (NodeData nodeData : test.getNodeDataCollection()) {
      System.out.println(nodeData.getName());
      System.out.println(nodeData.getString());
      System.out.println("=====");
    }

    return null;
    }
});
[/code]

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=070c82f1-176e-4e95-94f6-f00aa828127e


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to