@Test public void testSetRealm() { try { user.setRealm("test"); } catch (UnsupportedOperationException e) { } }
@Override public void setRealm(String realm) { throw new UnsupportedOperationException("The admin user realm cannot be changed"); }
SiteAdminImpl extends WebloungeUserImpl { @Override public void setRealm(String realm) { throw new UnsupportedOperationException("The admin user realm cannot be changed"); } }
SiteAdminImpl extends WebloungeUserImpl { @Override public void setRealm(String realm) { throw new UnsupportedOperationException("The admin user realm cannot be changed"); } SiteAdminImpl(String login); }
SiteAdminImpl extends WebloungeUserImpl { @Override public void setRealm(String realm) { throw new UnsupportedOperationException("The admin user realm cannot be changed"); } SiteAdminImpl(String login); @Override void setRealm(String realm); @Override boolean implies(Authority authority); @Override boolean equals(Object obj); @Override int hashCode(); static SiteAdminImpl fromXml(Node userNode, Site site); static SiteAdminImpl fromXml(Node userNode, Site site, XPath xpath); String toXml(); }
SiteAdminImpl extends WebloungeUserImpl { @Override public void setRealm(String realm) { throw new UnsupportedOperationException("The admin user realm cannot be changed"); } SiteAdminImpl(String login); @Override void setRealm(String realm); @Override boolean implies(Authority authority); @Override boolean equals(Object obj); @Override int hashCode(); static SiteAdminImpl fromXml(Node userNode, Site site); static SiteAdminImpl fromXml(Node userNode, Site site, XPath xpath); String toXml();  }