@Test public void testGetName() { assertThat(principal.getName()).isEqualTo(username + "@" + domainName); }
@Override public String getName() { return username + "@" + domainName; }
MillenniumDomainPrincipal implements Principal, Serializable { @Override public String getName() { return username + "@" + domainName; } }
MillenniumDomainPrincipal implements Principal, Serializable { @Override public String getName() { return username + "@" + domainName; } MillenniumDomainPrincipal(final String username, final String domainName); }
MillenniumDomainPrincipal implements Principal, Serializable { @Override public String getName() { return username + "@" + domainName; } MillenniumDomainPrincipal(final String username, final String domainName); String getDomainName(); @Override String getName(); String getUsername(); }
MillenniumDomainPrincipal implements Principal, Serializable { @Override public String getName() { return username + "@" + domainName; } MillenniumDomainPrincipal(final String username, final String domainName); String getDomainName(); @Override String getName(); String getUsername();  }