You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by dl...@apache.org on 2004/05/19 04:11:09 UTC
cvs commit: jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/demo/security roles.jsp
dlestrat 2004/05/18 19:11:09
Modified: applications/demo/src/webapp/WEB-INF/demo/security roles.jsp
Log:
Temporary test added to security portlet.
Revision Changes Path
1.2 +5 -0 jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/demo/security/roles.jsp
Index: roles.jsp
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/applications/demo/src/webapp/WEB-INF/demo/security/roles.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- roles.jsp 15 May 2004 01:57:09 -0000 1.1
+++ roles.jsp 19 May 2004 02:11:09 -0000 1.2
@@ -13,6 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
--%>
+<%@page import="javax.portlet.PortletRequest" %>
<%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
@@ -59,5 +60,9 @@
</c:otherwise>
</c:choose>
+<br><br>
+<b>Portlet Request - User info:</b>
+<br>Render request: <%= renderRequest.getAttribute(PortletRequest.USER_INFO) %>
+<br>Request: <%= request.getAttribute(PortletRequest.USER_INFO) %>
<br>
For help on role configuration select the help icon.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org