fixed Javadoc comment (had the param names wrong)
authormaxcooper <maxcooper>
Mon, 19 Aug 2002 17:12:02 +0000 (17:12 +0000)
committermaxcooper <maxcooper>
Mon, 19 Aug 2002 17:12:02 +0000 (17:12 +0000)
src/example/org/securityfilter/example/TrivialSecurityRealm.java

index 2e3f0d9..8190199 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * $Header: /cvsroot/securityfilter/securityfilter/src/example/org/securityfilter/example/Attic/TrivialSecurityRealm.java,v 1.3 2002/08/14 11:26:31 maxcooper Exp $
- * $Revision: 1.3 $
- * $Date: 2002/08/14 11:26:31 $
+ * $Header: /cvsroot/securityfilter/securityfilter/src/example/org/securityfilter/example/Attic/TrivialSecurityRealm.java,v 1.4 2002/08/19 17:12:02 maxcooper Exp $
+ * $Revision: 1.4 $
+ * $Date: 2002/08/19 17:12:02 $
  *
  * ====================================================================
  * The SecurityFilter Software License, Version 1.1
@@ -64,7 +64,7 @@ import org.securityfilter.realm.SimpleSecurityRealmBase;
  * And this user is in one role: 'inthisrole'
  *
  * @author Max Cooper (max@maxcooper.com)
- * @version $Revision: 1.3 $ $Date: 2002/08/14 11:26:31 $
+ * @version $Revision: 1.4 $ $Date: 2002/08/19 17:12:02 $
  */
 public class TrivialSecurityRealm extends SimpleSecurityRealmBase {
    private static final String THE_USERNAME = "username";
@@ -90,8 +90,8 @@ public class TrivialSecurityRealm extends SimpleSecurityRealmBase {
     *
     * Implement this method in a subclass to avoid dealing with Principal objects.
     *
-    * @param principal Principal object representing a user
-    * @param rolename name of a role to test for membership
+    * @param username The name of the user
+    * @param role name of a role to test for membership
     * @return true if the user is in the role, false otherwise
     */
    public boolean isUserInRole(String username, String role) {