public Iterator getRoles(String username)
throws JetspeedSecurityException
{
// give everyone the "user" role
Vector v = new Vector(1);
BaseJetspeedGroupRole gr = new BaseJetspeedGroupRole();
//r.setNew(false);
BaseJetspeedRole r = new BaseJetspeedRole();
r.setName(JetspeedSecurity.JETSPEED_ROLE_USER);
r.setId(JetspeedSecurity.JETSPEED_ROLE_USER);
BaseJetspeedGroup g = new BaseJetspeedGroup();
g.setId(JetspeedSecurity.JETSPEED_GROUP_ID);
g.setName(JetspeedSecurity.JETSPEED_GROUP);
gr.setGroup(g);
gr.setRole(r);
v.add(gr);
return v.iterator();
}