package org.wamblee.security.authorization;
import org.wamblee.security.authentication.User;
+import org.wamblee.security.authentication.UserAdminInitializer;
+import org.wamblee.security.authentication.UserAdministration;
/**
* Condition used to match a user against a specified set of users.
* @author Erik Brakkee
*/
public interface UserCondition {
+
+ /**
+ * Sets the user administration object.
+ * @param aAdmin User administration.
+ */
+ void setUserAdmin(UserAdministration aAdmin);
/**
* Determines if the condition matches.
*
* @return True if the condition matches, false otherwise.
*/
- public abstract boolean matches(User aUser);
+ boolean matches(String aUser);
}
\ No newline at end of file