1
0
mirror of synced 2026-08-06 02:08:01 +00:00

SEC-1131: Applied patch for portlet upgrade

This commit is contained in:
Luke Taylor
2009-04-12 05:52:20 +00:00
parent 365ae3936e
commit 7c4d54f356
12 changed files with 1006 additions and 952 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
<module>preauth</module>
<module>openid</module>
<module>ldap</module>
<!-- module>portlet</module -->
<module>portlet</module>
<module>cas</module>
</modules>
<dependencies>
@@ -11,11 +11,11 @@ import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import org.springframework.security.context.SecurityContextHolder;
import org.springframework.security.ui.AbstractProcessingFilter;
import org.springframework.security.web.authentication.AbstractProcessingFilter;
/**
* A simple portlet which prints out the contents of the current {@link SecurityContext}
* A simple portlet which prints out the contents of the current {@link org.springframework.security.context.SecurityContext}
*
* @author Luke Taylor
*/
@@ -38,7 +38,7 @@
<property name="mappableRolesRetriever">
<bean class="org.springframework.security.authoritymapping.SimpleMappableAttributesRetriever">
<property name="mappableAttributes">
<list>
<set>
<value>tomcat</value>
<value>admin</value>
<value>manager</value>
@@ -47,7 +47,7 @@
<value>Guest</value>
<value>User</value>
<value>Power User</value>
</list>
</set>
</property>
</bean>
</property>