jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cech. Ulrich" <Ulrich.C...@aeb.de>
Subject AW: AW: UserManagement
Date Tue, 23 Feb 2010 13:38:41 GMT
<NOTE: depending on your configuration the users may be stored in a separate workspace.>

This was the hint.
I can now log to the "security workspace" and travers throght that structure:
               Node-Name: admin
                  Property-Name: rep:password; {sha1}d033e22ae348aeb5660fc2140aec35850c4da997
                  Property-Name: jcr:uuid; 21232f29-7a57-35a7-8389-4a0e4a801fc3
                  Property-Name: jcr:createdBy; system
                  Property-Name: rep:principalName; admin
                  Property-Name: jcr:created; 2010-02-23T12:29:30.415+01:00
                  Property-Name: jcr:primaryType; rep:User

Is it right, that the folling will yet fail, because the nodes and properties of the security
workspace are not directly modifiable?

Authorizable a = um.getAuthorizable(userId);
boolean result = a.hasProperty("rep:principalName");

which results to false.

Thanks again.

Treffen Sie AEB vom 2.-4. M?rz 2010 auf der LogiMAT in Stuttgart. Halle 5, Stand 407.
Weitere Informationen und Terminvereinbarung unter: www.aeb.de/logimat

View raw message