Hi,
I am trying to create a GroupNode using:
stucture.create(slideToken, new GroupNode(), "/users/groupA");
But I am getting:
java.lang.ClassCastException
at
org.apache.slide.security.ACLSecurityImpl.matchSubject(ACLSecurityImpl.j
ava:239)
at
org.apache.slide.security.ACLSecurityImpl.match(ACLSecurityImpl.java:217
)
at
org.apache.slide.security.ACLSecurityImpl.evaluateAcl(ACLSecurityImpl.ja
va:207)
at
org.apache.slide.security.ACLSecurityImpl.hasPermission(ACLSecurityImpl.
java:160)
at
org.apache.slide.security.SecurityImpl.checkPermission(SecurityImpl.java
:506)
at
org.apache.slide.security.SecurityImpl.checkCredentials(SecurityImpl.jav
a:438)
at
org.apache.slide.structure.StructureImpl.retrieve(StructureImpl.java:200
)
at
org.apache.slide.structure.StructureImpl.store(StructureImpl.java:487)
at
org.apache.slide.structure.StructureImpl.store(StructureImpl.java:463)
at
org.apache.slide.structure.StructureImpl.create(StructureImpl.java:389)
I took a quick look at the code and see that ACLSecurityImpl is not
checking on GroupNode like SecurityImpl, it just assumes its dealing
with a SubjectNode hence the class cast exception.
Anybody know what's going on?
Regards, Unico
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]