import javax.persistence.Entity;
import org.wamblee.security.authentication.User;
+import org.wamblee.security.authentication.UserAdministration;
/**
* Matches any user.
public AnyUserCondition() {
// Empty.
}
+
+ @Override
+ public void setUserAdmin(UserAdministration aAdmin) {
+ // Empty. Don't need user admin.
+ }
- /*
- * (non-Javadoc)
- *
- * @see
- * org.wamblee.security.authorization.UserCondition#matches(org.wamblee.
- * usermgt.User)
- */
- public boolean matches(User aUser) {
+ @Override
+ public boolean matches(String aUser) {
return true;
}
public String toString() {
return "AnyUserCondition()";
}
+
}