portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Kumar <fireveloc...@gmail.com>
Subject Re: Creating Spring Authorities from LDAP
Date Tue, 21 Dec 2010 17:44:15 GMT
Jetspeed put user roles in httpRequest subject, while user
get authenticated from database or ldap.  This is should work

I think you can check jetspeed database to verify that, if your roles and
their mapping have been synced to database.



On Tue, Dec 21, 2010 at 5:17 PM, Tim MacDonald

> I've been able to configure Jetspeed to authenticate against an ApacheDS
> LDAP server. What I'm trying to do is transfer the roles (groups) coming
> from the LDAP server into Spring GrantedAuthorities so that I can secure
> Spring Portlet MVC controllers using the @Secured annotation. I've tried
> using a filter to check for specific roles against the request.isUserInRole,
> but it returns false for the LDAP roles. What is the recommended way for
> accessing LDAP roles?
> Thanks,
> Tim Macdonald
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

Regards & thanks
Vivek Kumar


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message