Update of /var/cvs/html/mmbase/components/core
In directory james.mmbase.org:/tmp/cvs-serv16866
Modified Files:
security.jspx
Log Message:
beautified
See also: http://cvs.mmbase.org/viewcvs/html/mmbase/components/core
Index: security.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/security.jspx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- security.jspx 11 Apr 2008 12:35:20 -0000 1.3
+++ security.jspx 11 Apr 2008 13:18:34 -0000 1.4
@@ -14,23 +14,23 @@
<h3>${mm:string(requestScope['org.mmbase.framework.state'].renderer.block.title)}</h3>
<mm:function set="utils" name="mmbase">
-<table summary="security implementation detail" border="0" cellspacing="0"
cellpadding="3">
-<caption>
+ <table summary="security implementation detail" border="0" cellspacing="0"
cellpadding="3">
+ <caption>
${mm:string(requestScope['org.mmbase.framework.state'].renderer.block.description)}
-</caption>
-<tr>
+ </caption>
+ <tr>
<th class="view">You</th>
<td><mm:cloudinfo type="user" /></td>
-</tr>
-<tr>
+ </tr>
+ <tr>
<th class="view">Your rank</th>
<td><mm:cloudinfo type="rank" /></td>
-</tr>
-<tr>
+ </tr>
+ <tr>
<th class="view">Implementation</th>
<td>${cloud.cloudContext.authentication}</td>
-</tr>
-<tr>
+ </tr>
+ <tr>
<th class="view">User-builder</th>
<td>
<c:catch var="exception">
@@ -38,36 +38,59 @@
</c:catch>
${exception}
</td>
-</tr>
-</table>
+ </tr>
+ <tr>
+ <th class="view">Default method</th>
+ <td>
+
<jsp:expression>org.mmbase.security.Authentication.getMethod(cloud.getCloudContext().getAuthentication().getDefaultMethod("http"))</jsp:expression>
+ </td>
+ </tr>
+ <tr>
+ <th class="view">Ranks</th>
+
<td><jsp:expression>org.mmbase.security.Rank.getRanks()</jsp:expression></td>
+ </tr>
+ <tr>
+ <th class="view">Declared actions</th>
+
<td><jsp:expression>org.mmbase.security.Rank.getRanks()</jsp:expression></td>
+ </tr>
+ </table>
- <h2>Types ('application', 'authentication')</h2>
- <ul>
+ <table summary="security types" border="0" cellspacing="0" cellpadding="3">
+ <caption>
+ Security types (also now as 'application' or 'authentication')
+ </caption>
+ <tr>
+ <th>Type</th>
+ <th>Parameters</th>
+ </tr>
<c:catch var="exception">
<jsp:scriptlet>
for (String t :
cloud.getCloudContext().getAuthentication().getTypes()) {
</jsp:scriptlet>
- <li>
- <jsp:expression>t</jsp:expression>:
- parameters:
<jsp:expression>cloud.getCloudContext().getAuthentication().createParameters(t)</jsp:expression>
- </li>
+ <tr>
+ <td> <jsp:expression>t</jsp:expression> </td>
+ <td>
+
<jsp:expression>cloud.getCloudContext().getAuthentication().createParameters(t)</jsp:expression>
+ </td>
+ </tr>
<jsp:scriptlet>}</jsp:scriptlet>
</c:catch>
- </ul>
+ </table>
${exception}
- <h2>Default-method</h2>
- <p>
-
<jsp:expression>org.mmbase.security.Authentication.getMethod(cloud.getCloudContext().getAuthentication().getDefaultMethod("http"))</jsp:expression>
- </p>
- <h2>Ranks</h2>
- <jsp:expression>org.mmbase.security.Rank.getRanks()</jsp:expression>
- <h2>Declared Actions</h2>
- <ul>
+ <table summary="declared actions" border="0" cellspacing="0"
cellpadding="3">
+ <caption>
+ Declared Actions
+ </caption>
+ <tr>
+ <th>Action</th>
+ </tr>
<c:forEach var="action"
items="${cloud.cloudContext.actionRepository.actions}">
- <li>${action}</li>
+ <tr>
+ <td>${action}</td>
+ </tr>
</c:forEach>
- </ul>
+ </table>
</mm:function>
</div>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs