@Test public void testImpliesSystemAdministratorRole() { assertTrue(user.implies(SystemRole.SYSTEMADMIN)); assertTrue(user.implies(SystemRole.GUEST)); assertTrue(user.implies(new RoleImpl("foo", "bar"))); }
@Override public boolean implies(Authority authority) { return true; }
WebloungeAdminImpl extends UserImpl { @Override public boolean implies(Authority authority) { return true; } }
WebloungeAdminImpl extends UserImpl { @Override public boolean implies(Authority authority) { return true; } WebloungeAdminImpl(String login); }
WebloungeAdminImpl extends UserImpl { @Override public boolean implies(Authority authority) { return true; } WebloungeAdminImpl(String login); @Override void setRealm(String realm); @Override boolean implies(Authority authority); }
WebloungeAdminImpl extends UserImpl { @Override public boolean implies(Authority authority) { return true; } WebloungeAdminImpl(String login); @Override void setRealm(String realm); @Override boolean implies(Authority authority);  }