/*
- * $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
* 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";
*
* 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) {