Update of /var/cvs/src/org/mmbase/security
In directory james.mmbase.org:/tmp/cvs-serv2466
Modified Files:
Action.java
Log Message:
javadoc
See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/security
Index: Action.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/security/Action.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- Action.java 21 Jan 2008 17:28:15 -0000 1.6
+++ Action.java 9 Jun 2008 09:52:21 -0000 1.7
@@ -14,11 +14,13 @@
/**
* An action is something which an authenticated user may want to do, but
which is not directly
- * associated with MMBase nodes. Actions are e.g. provided by components (and
can be added to
- * component XML's).
+ * associated with MMBase nodes. Actions are e.g. provided by
+ * [EMAIL PROTECTED] org.mmbase.framework.Component}s (and can be added to
component XML's).
+ *
+ * Actions are checked using [EMAIL PROTECTED] Authentication#check(Action,
Parameters)}.
*
* @author Michiel Meeuwissen
- * @version $Id: Action.java,v 1.6 2008/01/21 17:28:15 michiel Exp $
+ * @version $Id: Action.java,v 1.7 2008/06/09 09:52:21 michiel Exp $
* @since MMBase-1.9
*/
public class Action implements java.io.Serializable {
@@ -51,7 +53,7 @@
}
/**
- * Most 'actions' have a namespace. This is normally identical to thye
name of the component
+ * Most 'actions' have a namespace. This is normally identical to the name
of the component
* with wich there are associated. It can be <code>null</code> though.
*/
public String getNameSpace() {
@@ -65,6 +67,10 @@
public String toString() {
return nameSpace + ":" + name + ":" + defaultChecker;
}
+
+ /**
+ * @see Authentication#check(Action, Parameters)
+ */
public Parameters createParameters() {
return new Parameters();
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs