@Test public void readSecurityServerIdentifier() throws Exception { SecurityServerId id = parseSecurityServerId( fileToType("securityserverid.xml", SERVER, XRoadSecurityServerIdentifierType.class)); assertEquals("EE", id.getXRoadInstance()); assertEquals("BUSINESS", id.getMemberClass()); assertEquals("123456789", id.getMemberCode()); assertEquals("bambi", id.getServerCode()); assertEquals("SERVER:EE/BUSINESS/123456789/bambi", id.toString()); }
static SecurityServerId parseSecurityServerId(XRoadIdentifierType v) { return SecurityServerId.create(v.getXRoadInstance(), v.getMemberClass(), v.getMemberCode(), v.getServerCode()); }
IdentifierTypeConverter { static SecurityServerId parseSecurityServerId(XRoadIdentifierType v) { return SecurityServerId.create(v.getXRoadInstance(), v.getMemberClass(), v.getMemberCode(), v.getServerCode()); } }
IdentifierTypeConverter { static SecurityServerId parseSecurityServerId(XRoadIdentifierType v) { return SecurityServerId.create(v.getXRoadInstance(), v.getMemberClass(), v.getMemberCode(), v.getServerCode()); } private  IdentifierTypeConverter(); }
IdentifierTypeConverter { static SecurityServerId parseSecurityServerId(XRoadIdentifierType v) { return SecurityServerId.create(v.getXRoadInstance(), v.getMemberClass(), v.getMemberCode(), v.getServerCode()); } private  IdentifierTypeConverter();  }
IdentifierTypeConverter { static SecurityServerId parseSecurityServerId(XRoadIdentifierType v) { return SecurityServerId.create(v.getXRoadInstance(), v.getMemberClass(), v.getMemberCode(), v.getServerCode()); } private  IdentifierTypeConverter();   }