SEC-1131: Applied patch for portlet upgrade
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@
|
||||
<module>preauth</module>
|
||||
<module>openid</module>
|
||||
<module>ldap</module>
|
||||
<!-- module>portlet</module -->
|
||||
<module>portlet</module>
|
||||
<module>cas</module>
|
||||
</modules>
|
||||
<dependencies>
|
||||
|
||||
+2
-2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user