class SecurityServerConverter {

    public SecurityServerId convertId(String encodedId) {
        validateEncodedString(encodedId);
        int serverCodeSeparatorIndex = encodedId.lastIndexOf(
                ENCODED_ID_SEPARATOR);
        // items 0,1,2 for a client id of an member (not a subsystem)
        String encodedMemberClientId = encodedId.substring(0, serverCodeSeparatorIndex);
        ClientId memberClientId = clientConverter.convertId(encodedMemberClientId);
        String serverCode = encodedId.substring(serverCodeSeparatorIndex + 1);
        SecurityServerId securityServerId = SecurityServerId.create(memberClientId, serverCode);
        return securityServerId;
    }

    @Autowired public  SecurityServerConverter(ClientConverter clientConverter, GlobalConfFacade globalConfFacade);

}