Thanks for reminding me. I forgot I have read that post earlier. Can someone
else share the source again?

Basically I have a problem on the GrantedAuthorityEffectiveAclsResolver. I
found that it is trying to compare Role with String at function
resolveEffectiveAcls.

/* File: GrantedAuthorityEffectiveAclsResolver.java */
public AclEntry[] resolveEffectiveAcls(AclEntry allAcls[], Authentication
filteredBy)
{
            ......
            Object recipient = ((BasicAclEntry)allAcls[i]).getRecipient();
            ......
            for(int k = 0; k < authorities.length; k++)
            {
>>>>       if(!authorities[k].equals(recipient))
                    continue;
                if(logger.isDebugEnabled())
                    logger.debug("GrantedAuthority: " + authorities[k] + "
matches recipient: " + recipient);
                list.add(allAcls[i]);
            }
            ......
            ......
}
/* End */

I don't know why the "authorities[k]" is an instance of class
"my.app.model.Role$$EnhancerByCGLIB$$7b1c58b7" while "recipient" is an
instance of class String. It makes the "equals" statement return false. It
returns "DEBUG [http-8080-Processor25]
GrantedAuthorityEffectiveAclsResolver.resolveEffectiveAcls(128) | Returning
null AclEntry array as zero effective AclEntrys found" all the time. I don't
know how to tackle this.

I am using Acegi 1.0.3 with AppFuse 1.9.4

Any help would be appreciated.


Matt Raible-3 wrote:
> 
> On 12/28/06, Hardaway <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I have been trying hard to hook up my own application with Acegi ACL.
>> However, I have no luck even follow closely with the tutorial
>> (http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseAcegiACL). I used
>> both
>> user and role model from AppFuse but still no help. Finally, I think I
>> need
>> to compare at coding level.
>>
>> Anyone could post a new link for me to download the source? I experienced
>> download error for the file located at:
>> http://www.resmoked.net:8080/JSPWiki/attach/AppFuseAcegiACL/AppFuseACL.rar.
> 
> If you search through the archives for the last week, I believe the
> original author posted a message saying they had a server meltdown and
> lost these files.  I believe they're trying to restore them, but I
> don't know if they're having any luck.  If someone else has a copy,
> I'd be happy to post them for download.
> 
> Matt
> 
>>
>> Many thanks,
>> Hardaway
>> --
>> View this message in context:
>> http://www.nabble.com/AppFuseAcegiACL-file-download-problem--tf2893218s2369.html#a8083407
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AppFuseAcegiACL-file-download-problem--tf2893218s2369.html#a8083639
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to