@Test public void testGetName() { assertThat(principal.getName()).isEqualTo(username + "@" + environmentName + "@" + hostName); }
@Override public String getName() { return username + "@" + environmentName + "@" + hostName; }
BackendNodePrincipal implements Principal, Serializable { @Override public String getName() { return username + "@" + environmentName + "@" + hostName; } }
BackendNodePrincipal implements Principal, Serializable { @Override public String getName() { return username + "@" + environmentName + "@" + hostName; } BackendNodePrincipal(final String username, final String hostName, final String environmentName); }
BackendNodePrincipal implements Principal, Serializable { @Override public String getName() { return username + "@" + environmentName + "@" + hostName; } BackendNodePrincipal(final String username, final String hostName, final String environmentName); String getEnvironmentName(); String getHostname(); @Override String getName(); String getUsername(); }
BackendNodePrincipal implements Principal, Serializable { @Override public String getName() { return username + "@" + environmentName + "@" + hostName; } BackendNodePrincipal(final String username, final String hostName, final String environmentName); String getEnvironmentName(); String getHostname(); @Override String getName(); String getUsername();  }